RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: jonsaw
Hi jDeppen,
I moved
listen 80 default deferred;
to /etc/nginx/nginx.conf (if your setup is similar to Ryan's)
# ... http { # ... rest of code removed .. server { listen 80 default deferred; include /etc/nginx/conf.d/*.conf; include /etc/nginx/sites-enabled/*; } }
Good idea to backup nginx.conf before changing it. Run
cp /etc/nginx/nginx.conf /etc/nginx/nginx.conf-20120608
I hope this helps.
*remember to remove the "listen 80" line in each nginx.conf file in each app.
Hi jDeppen,
I moved
to /etc/nginx/nginx.conf (if your setup is similar to Ryan's)
Good idea to backup nginx.conf before changing it. Run
I hope this helps.
*remember to remove the "listen 80" line in each nginx.conf file in each app.