{"action":"opened","issue":{"url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/167","labels_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/167/labels{/name}","comments_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/167/comments","events_url":"https://api.github.com/repos/jwilder/nginx-proxy/issues/167/events","html_url":"https://github.com/jwilder/nginx-proxy/issues/167","id":76751056,"number":167,"title":"CORS doesn't work via the proxy","user":{"login":"far-blue","id":344317,"avatar_url":"https://avatars.githubusercontent.com/u/344317?v=3","gravatar_id":"","url":"https://api.github.com/users/far-blue","html_url":"https://github.com/far-blue","followers_url":"https://api.github.com/users/far-blue/followers","following_url":"https://api.github.com/users/far-blue/following{/other_user}","gists_url":"https://api.github.com/users/far-blue/gists{/gist_id}","starred_url":"https://api.github.com/users/far-blue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/far-blue/subscriptions","organizations_url":"https://api.github.com/users/far-blue/orgs","repos_url":"https://api.github.com/users/far-blue/repos","events_url":"https://api.github.com/users/far-blue/events{/privacy}","received_events_url":"https://api.github.com/users/far-blue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-15T14:53:38Z","updated_at":"2015-05-15T14:53:38Z","closed_at":null,"body":"I was trying to work with an apache server replying to CORS requests over a REST API and while it works in a native environment it was failing when proxy'd. Having done a quick check with tcpdump, it looks like OPTIONS requests are being converted to GET requests by the proxy, causing things to break."}}