nginx not acknowledging passenger_root option
- by lowgain
I'm running a sinatra app on passenger, and trying to hook it to nginx.
The relevant part of my config looks like:
http {
passenger_root /path/to/gem; #this is a valid path
passenger_ruby /path/to/ruby; #ditto
#etc...
server {
listen 80;
server_name hello.org;
root /path/to/stuff/public;
passenger_enabled on;
}
}
Whenever I start nginx however, I get:
Starting nginx: [alert]: Phusion Passenger is disabled becasue the 'passenger_root' option is not set. Please set this option if you want to enable Phusion Passenger.
What am I missing here? Thanks!