{"action":"created","issue":{"url":"https://api.github.com/repos/wpengine/hgv/issues/14","labels_url":"https://api.github.com/repos/wpengine/hgv/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/wpengine/hgv/issues/14/comments","events_url":"https://api.github.com/repos/wpengine/hgv/issues/14/events","html_url":"https://github.com/wpengine/hgv/issues/14","id":52690199,"number":14,"title":"Should we put nginx configs in conf.d/ ?","user":{"login":"markkelnar","id":749603,"avatar_url":"https://avatars.githubusercontent.com/u/749603?v=3","gravatar_id":"","url":"https://api.github.com/users/markkelnar","html_url":"https://github.com/markkelnar","followers_url":"https://api.github.com/users/markkelnar/followers","following_url":"https://api.github.com/users/markkelnar/following{/other_user}","gists_url":"https://api.github.com/users/markkelnar/gists{/gist_id}","starred_url":"https://api.github.com/users/markkelnar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markkelnar/subscriptions","organizations_url":"https://api.github.com/users/markkelnar/orgs","repos_url":"https://api.github.com/users/markkelnar/repos","events_url":"https://api.github.com/users/markkelnar/events{/privacy}","received_events_url":"https://api.github.com/users/markkelnar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wpengine/hgv/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/wpengine/hgv/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-22T21:24:28Z","updated_at":"2015-01-14T23:03:42Z","closed_at":null,"body":"Package dependencies have changed between nginx 1.4.6 -> 1.6. Looks like nginx (since nginx-common is no longer required), does not provide or require the /etc/nginx/sites-available/sites-enabled directories. Nginx.conf is configured to load /etc/nginx/conf.d/ instead.\r\n\r\nMight be more straightforward if we put the configs in conf.d/ instead of trying to create and mimic the apache style sites-available/enabled model if Nginx stopped doing that. But not functionally much different."},"comment":{"url":"https://api.github.com/repos/wpengine/hgv/issues/comments/70010610","html_url":"https://github.com/wpengine/hgv/issues/14#issuecomment-70010610","issue_url":"https://api.github.com/repos/wpengine/hgv/issues/14","id":70010610,"user":{"login":"wp-michael","id":4192450,"avatar_url":"https://avatars.githubusercontent.com/u/4192450?v=3","gravatar_id":"","url":"https://api.github.com/users/wp-michael","html_url":"https://github.com/wp-michael","followers_url":"https://api.github.com/users/wp-michael/followers","following_url":"https://api.github.com/users/wp-michael/following{/other_user}","gists_url":"https://api.github.com/users/wp-michael/gists{/gist_id}","starred_url":"https://api.github.com/users/wp-michael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wp-michael/subscriptions","organizations_url":"https://api.github.com/users/wp-michael/orgs","repos_url":"https://api.github.com/users/wp-michael/repos","events_url":"https://api.github.com/users/wp-michael/events{/privacy}","received_events_url":"https://api.github.com/users/wp-michael/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T23:03:42Z","updated_at":"2015-01-14T23:03:42Z","body":"Looking over the nginx source in their Trac repo, I don't see that it ever had those paths.\r\nThis is probably something that debian/ubuntu layered over it. I know the 1.4.6 that gets installed on my host includes those paths as part of the nginx.conf. You could choose to add any back in or just use what's there.\r\n\r\nBased on what I have read, \r\nconf.d - module loading and more global stuffs\r\nsites-enabled/sites-available - site configurations\r\n\r\nThat's just kind of a guideline though. The sites-enabled are a handy way to enable/disable sites by messing with symlinks rather than files."}}