Running Sinatra on port 80

后端 未结 4 1208
旧时难觅i
旧时难觅i 2021-02-18 23:33

I installed Sinatra and it works but it uses port 4567 by default. I want it to run on port 80.

In an effort to get it to work on port 80, I tried this:

         


        
4条回答
  •  悲&欢浪女
    2021-02-19 00:26

    Yes, running anything other than Apache, Nginx, Varnish or HAProxy or port 80 is in my opiniona dangerous game. Those tools are very good at what they do. A reverse proxy setup is the way to go.

提交回复
热议问题