{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/826","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/826/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/826/comments","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/826/events","html_url":"https://github.com/SpiderLabs/ModSecurity/pull/826","id":53749223,"number":826,"title":"Force to send custom headers back to the client and fix POST 500 error","user":{"login":"ton31337","id":3352707,"avatar_url":"https://avatars.githubusercontent.com/u/3352707?v=3","gravatar_id":"","url":"https://api.github.com/users/ton31337","html_url":"https://github.com/ton31337","followers_url":"https://api.github.com/users/ton31337/followers","following_url":"https://api.github.com/users/ton31337/following{/other_user}","gists_url":"https://api.github.com/users/ton31337/gists{/gist_id}","starred_url":"https://api.github.com/users/ton31337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ton31337/subscriptions","organizations_url":"https://api.github.com/users/ton31337/orgs","repos_url":"https://api.github.com/users/ton31337/repos","events_url":"https://api.github.com/users/ton31337/events{/privacy}","received_events_url":"https://api.github.com/users/ton31337/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/labels/Platform%20-%20Nginx","name":"Platform - Nginx","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-01-08T13:16:54Z","updated_at":"2015-08-11T10:05:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/pulls/826","html_url":"https://github.com/SpiderLabs/ModSecurity/pull/826","diff_url":"https://github.com/SpiderLabs/ModSecurity/pull/826.diff","patch_url":"https://github.com/SpiderLabs/ModSecurity/pull/826.patch"},"body":"Custom headers are skipped when using nginx as proxy_pass to origin. They are displayed only in audit_log, but the client doesn't see them. For example X-Flash-Message header."},"comment":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/comments/129805237","html_url":"https://github.com/SpiderLabs/ModSecurity/pull/826#issuecomment-129805237","issue_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/826","id":129805237,"user":{"login":"ton31337","id":3352707,"avatar_url":"https://avatars.githubusercontent.com/u/3352707?v=3","gravatar_id":"","url":"https://api.github.com/users/ton31337","html_url":"https://github.com/ton31337","followers_url":"https://api.github.com/users/ton31337/followers","following_url":"https://api.github.com/users/ton31337/following{/other_user}","gists_url":"https://api.github.com/users/ton31337/gists{/gist_id}","starred_url":"https://api.github.com/users/ton31337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ton31337/subscriptions","organizations_url":"https://api.github.com/users/ton31337/orgs","repos_url":"https://api.github.com/users/ton31337/repos","events_url":"https://api.github.com/users/ton31337/events{/privacy}","received_events_url":"https://api.github.com/users/ton31337/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T10:05:34Z","updated_at":"2015-08-11T10:05:34Z","body":"@zimmerle you should pay more attention on POST 500 error. Take a look at this line: https://github.com/ton31337/ModSecurity/commit/2bb9c0088e59a2cd43842e5a2ac99dd41308751e#diff-a80339e1bd9e20765a4f9539ae3c09ecR547 and about sending headers from back-end to browser there is missing https://github.com/ton31337/ModSecurity/commit/2bb9c0088e59a2cd43842e5a2ac99dd41308751e#diff-a80339e1bd9e20765a4f9539ae3c09ecR851."}}