Nginx, Passenger, and Rails are running beautifully on my Linode. Before I launch, I\'d like to restrict access so only my IP can view the site.
I\'ve tried to deny
I know this is an old tread, but you an always use sudo nginx -t to get a more specific error message.
sudo nginx -t
modify your nginx.conf
server { listen 80; server_name www.foo.bar; location / { root /path/to/rails/public/; passenger_enabled on; allow my.public.ip.here; deny all; } }