I just updated my NginX configuration. In the config I've added a new server with a different environment for a rails application.

I've reloaded the configuration (sbin/nginx -s reload) and deployed the application to the right folder but nothing seems to happen, NginX throws 404 not found..

Is there anything more I need to do?

Do I need to restart NginX or passenger for example?

有帮助吗?

解决方案

Turns out you don't need to restart.

Passenger isn't able to restart (as far as I've found out) and NginX only needs a reload.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top