linux - Trying to use Passenger/Nginx for my Rails production server, 403 error -
i'm trying production server , running on ubuntu 12.04 lts server, followed tutorial step step,
but when load nginx, 403 error. here namei -om /home/deploy(user)/app
drwxr-xr-x root root / drwxr-xr-x deploy www-data home drwxr-xr-x deploy www-data deploy drwxr-xr-x deploy www-data knowyourroute
and in nginx.conf have @ top
user deploy www-data;
and in server {
have
listen 80; server_name 10.0.0.30; root /home/deploy/knowyourroute/public; passenger_enabled on; location / { root html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root html; }
i've googled crap out of tried changing permissions, groups, running root or running user deploy
still nothing i'm running out of things try if has idea great.
you need re-specify passenger_enabled in location block.
Comments
Post a Comment