{"action":"created","issue":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/582","labels_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/582/labels{/name}","comments_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/582/comments","events_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/582/events","html_url":"https://github.com/SpiderLabs/ModSecurity/issues/582","id":21448805,"number":582,"title":"Nginx with Modsecurity: POST request gives 500 error","user":{"login":"pijnack","id":5747037,"avatar_url":"https://avatars.githubusercontent.com/u/5747037?v=3","gravatar_id":"","url":"https://api.github.com/users/pijnack","html_url":"https://github.com/pijnack","followers_url":"https://api.github.com/users/pijnack/followers","following_url":"https://api.github.com/users/pijnack/following{/other_user}","gists_url":"https://api.github.com/users/pijnack/gists{/gist_id}","starred_url":"https://api.github.com/users/pijnack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pijnack/subscriptions","organizations_url":"https://api.github.com/users/pijnack/orgs","repos_url":"https://api.github.com/users/pijnack/repos","events_url":"https://api.github.com/users/pijnack/events{/privacy}","received_events_url":"https://api.github.com/users/pijnack/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"},{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/labels/Type%20-%20Bug","name":"Type - Bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"zimmerle","id":428268,"avatar_url":"https://avatars.githubusercontent.com/u/428268?v=3","gravatar_id":"","url":"https://api.github.com/users/zimmerle","html_url":"https://github.com/zimmerle","followers_url":"https://api.github.com/users/zimmerle/followers","following_url":"https://api.github.com/users/zimmerle/following{/other_user}","gists_url":"https://api.github.com/users/zimmerle/gists{/gist_id}","starred_url":"https://api.github.com/users/zimmerle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zimmerle/subscriptions","organizations_url":"https://api.github.com/users/zimmerle/orgs","repos_url":"https://api.github.com/users/zimmerle/repos","events_url":"https://api.github.com/users/zimmerle/events{/privacy}","received_events_url":"https://api.github.com/users/zimmerle/received_events","type":"User","site_admin":false},"milestone":null,"comments":102,"created_at":"2013-10-23T11:55:06Z","updated_at":"2015-07-15T01:38:48Z","closed_at":null,"body":"Nginx with Modsecurity gives 500 errors after a POST request.\r\n\r\nIn error.log:\r\n\r\n2013/10/23 13:21:07 [alert] 29432#0: *4 no upstream configuration, client: 88.159.16.136, server: test.huygenscollege.nl, request: \"POST /proefwerk/prog/index.php?day=28&month=10&year=2013&klas=2 HTTP/1.1\", host: \"test.huygenscollege.nl\", referrer: \"http://test.huygenscollege.nl/proefwerk/prog/index.php?day=4&month=11&year=2013&klas=2\"\r\n\r\n\r\nIn nginx.conf:\r\n\r\nupstream smoothrac {\r\n        server 88.159.13.153;\r\n}\r\nserver {\r\n        listen       80;\r\n        server_name  test.huygenscollege.nl;\r\n        location / {\r\n         ModSecurityEnabled on;\r\n         ModSecurityConfig modsecurity.conf;\r\n        proxy_pass         http://smoothrac/;\r\n        proxy_set_header Host test.huygenscollege.nl;\r\n        proxy_read_timeout 150s;\r\n        }\r\n}\r\n\r\nAfter changing ModSecurityEnabled on to off, the problem is gone.\r\nI guess something is missing in my upstream configuration? \r\n\r\nPiet Pijnacker,\r\nEindhoven, Netherlands"},"comment":{"url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/comments/121450309","html_url":"https://github.com/SpiderLabs/ModSecurity/issues/582#issuecomment-121450309","issue_url":"https://api.github.com/repos/SpiderLabs/ModSecurity/issues/582","id":121450309,"user":{"login":"taibd","id":5248564,"avatar_url":"https://avatars.githubusercontent.com/u/5248564?v=3","gravatar_id":"","url":"https://api.github.com/users/taibd","html_url":"https://github.com/taibd","followers_url":"https://api.github.com/users/taibd/followers","following_url":"https://api.github.com/users/taibd/following{/other_user}","gists_url":"https://api.github.com/users/taibd/gists{/gist_id}","starred_url":"https://api.github.com/users/taibd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taibd/subscriptions","organizations_url":"https://api.github.com/users/taibd/orgs","repos_url":"https://api.github.com/users/taibd/repos","events_url":"https://api.github.com/users/taibd/events{/privacy}","received_events_url":"https://api.github.com/users/taibd/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T01:38:48Z","updated_at":"2015-07-15T01:38:48Z","body":"@zimmerle: oh Yes, I have followed this bug a long time and perhaps it's difficult bug.\r\n Now, I use @ton31337 Modsecurity-nginx while I am waitting your full patch version.\r\nBut He is not a developer of Modsecurity-nginx. I don't realy trust him for secure reason.\r\nDo you have any recommendation for me to deploy my system.\r\n\r\nThanks you so much! "}}