strtwtsn / PPE_Web

0 stars 1 forks source link

nginx doesn't work #4

Closed adammulligan closed 11 years ago

adammulligan commented 11 years ago

nginx doesn't work, it seems. It also looks like the script is referencing a .deb file that was once in this repo, but isn't anymore.

It appears the paths in https://github.com/strtwtsn/PPE_Web/blob/master/cookbooks/nginx/templates/default/startup.erb are pointing to /opt/nginx rather than /etc/nginx, which might be why nginx wasn't booting.

I ended up following step 5 of this: http://www.modrails.com/documentation/Users%20guide%20Nginx.html#rubygems_generic_install to get a new install of nginx with passenger, which worked fine with the rest of your config, though it does require the sites-enabled/sites-available directories to be created manually.

Not sure how useful that is, but let me know if you need anymore info about what wasn't working.

strtwtsn commented 11 years ago

Have fixed the nginx cookbook so it now installs the correct package. Nginx now starts on my test servers.

adammulligan commented 11 years ago

That's great, thanks. I think once we've confirmed the current staging servers are working we're going to tear them down one last time and re-provision to make sure deploying to production takes as little time as possible. I'll let you know when we plan to do that.

On Tue, Jul 9, 2013 at 11:37 AM, strtwtsn notifications@github.com wrote:

Have fixed the nginx cookbook so it now installs the correct package. Nginx now starts on my test servers.

— Reply to this email directly or view it on GitHubhttps://github.com/strtwtsn/PPE_Web/issues/4#issuecomment-20665856 .