I have Nginx with Passenger. In nginx.conf I have line:
user pass users;
and Nginx process works on ‘pass’ user, but Passenger* processes work on ‘nobody’ user.
I can run Passenger standalone:
sudo passanger start -e production -p 80 --user=pass
How can I run Passenger with Nginx with my custom user?
Put the following into your nginx.conf in the http block:
You can find more configuration options here:
http://modrails.com/documentation/Users%20guide%20Nginx.html#PassengerDefaultUser