|
|
|
|
|
by coderobe
2800 days ago
|
|
>And besides: If Sinatra starts a server listening for incoming traffic, why does it still seem common to run a regular webserver like nginx in front of that server? This is a common technique used for tls-termination and management of 'virtual hosts', among other things. The mentioned "issues" don't seem to be Sinatra-specific, but rather about the authors shallow understanding of the topic as a whole |
|
Yes, usually you're not hosting only one application in a server, it's very useful to have the abstraction of a layer on top of many apps.
Also, to serve static content.