Sinatra on Nginx configuration - what's wrong?

前端 未结 2 2205
逝去的感伤
逝去的感伤 2021-02-15 11:13

I followed this tutorial more or less... I installed the passenger gem, executed passenger-install-ginx-module, sucessfully installed nginx and inserted this into the config:

2条回答
  •  灰色年华
    2021-02-15 12:15

    Make sure that the user nginx is running as (in most cases 'nobody' or 'www-data') has permission to read the contents of your home directory /home/admin.

    Also you can look into the nginx logs and read exactly what the error was.

提交回复
热议问题