{"action":"created","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/92","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/92/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/92/events","html_url":"https://github.com/jwilder/nginx-proxy/issues/92","id":55363843,"number":92,"title":"Feature request: 301 redirect to www or non-www","user":{"login":"jmillerdesign","id":848523,"avatar_url":"https://avatars.githubusercontent.com/u/848523?v=3","gravatar_id":"","url":"https://api.github.com/users/jmillerdesign","html_url":"https://github.com/jmillerdesign","followers_url":"https://api.github.com/users/jmillerdesign/followers","following_url":"https://api.github.com/users/jmillerdesign/following{/other_user}","gists_url":"https://api.github.com/users/jmillerdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/jmillerdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmillerdesign/subscriptions","organizations_url":"https://api.github.com/users/jmillerdesign/orgs","repos_url":"https://api.github.com/users/jmillerdesign/repos","events_url":"https://api.github.com/users/jmillerdesign/events{/privacy}","received_events_url":"https://api.github.com/users/jmillerdesign/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-24T08:56:17Z","updated_at":"2015-05-11T06:25:21Z","closed_at":"2015-02-25T06:43:56Z","body":"If you pass in multiple domains, it would be great to be able to 301 redirect the www subdomain to the naked domain. ```VIRTUAL_HOST: example.com,www.example.com```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/comments/100785961","html_url":"https://github.com/jwilder/nginx-proxy/issues/92#issuecomment-100785961","issue_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/92","id":100785961,"user":{"login":"jmillerdesign","id":848523,"avatar_url":"https://avatars.githubusercontent.com/u/848523?v=3","gravatar_id":"","url":"https://api.github.com/users/jmillerdesign","html_url":"https://github.com/jmillerdesign","followers_url":"https://api.github.com/users/jmillerdesign/followers","following_url":"https://api.github.com/users/jmillerdesign/following{/other_user}","gists_url":"https://api.github.com/users/jmillerdesign/gists{/gist_id}","starred_url":"https://api.github.com/users/jmillerdesign/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmillerdesign/subscriptions","organizations_url":"https://api.github.com/users/jmillerdesign/orgs","repos_url":"https://api.github.com/users/jmillerdesign/repos","events_url":"https://api.github.com/users/jmillerdesign/events{/privacy}","received_events_url":"https://api.github.com/users/jmillerdesign/received_events","type":"User","site_admin":false},"created_at":"2015-05-11T06:25:21Z","updated_at":"2015-05-11T06:25:21Z","body":"Sounds like you're doing everything correctly. Perhaps there's an unrelated issue with the container you're running. What's the nginx.conf like? Do you see any errors there?"}}