Why should one use a http server in front of a framework web server?

前端 未结 5 1498
感动是毒
感动是毒 2020-12-05 03:15

Web applications frameworks such as sinatra (ruby), play (scala), lift (scala) produces a web server listening to a specific port.

I know there are some reasons like

5条回答
  •  无人及你
    2020-12-05 03:43

    I would add:

    • ssl handling
    • for some servers like apache lots of modules (i.e. ntml/kerberos authentication)
    • Web servers are much better for some things compared to your application, like serving static.

提交回复
热议问题