У меня php осознанно возвращает 400 Bad Request. А nginx пишет что видит это и меняет зачем то на 302. Что это?
2019/06/27 22:45:24 [error] 8715#8715: *49 upstream sent invalid status "Bad Request" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.org, request: "PUT /xxx.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxx.org"
2019/06/27 22:45:24 [debug] 8715#8715: *49 http next upstream, 8
2019/06/27 22:45:24 [debug] 8715#8715: *49 free rr peer 1 4
2019/06/27 22:45:24 [debug] 8715#8715: *49 finalize http upstream request: 502
2019/06/27 22:45:24 [debug] 8715#8715: *49 finalize http fastcgi request
2019/06/27 22:45:24 [debug] 8715#8715: *49 close http upstream connection: 27
2019/06/27 22:45:24 [debug] 8715#8715: *49 free: 000055D20B218090, unused: 48
2019/06/27 22:45:24 [debug] 8715#8715: *49 event timer del: 27: 1985789457
2019/06/27 22:45:24 [debug] 8715#8715: *49 reusable connection: 0
2019/06/27 22:45:24 [debug] 8715#8715: *49 http finalize request: 502, "/xxx.php?" a:1, c:1
2019/06/27 22:45:24 [debug] 8715#8715: *49 http special response: 502, "/xxx.php?"
2019/06/27 22:45:24 [debug] 8715#8715: *49 charset: "" > "utf-8"
2019/06/27 22:45:24 [debug] 8715#8715: *49 HTTP/1.1 302 Moved Temporarily^M
Server: nginx^M
Date: Thu, 27 Jun 2019 19:45:24 GMT^M
Content-Type: text/html^M
Content-Length: 154^M
Connection: keep-alive^M
Location: =400^M
Access-Control-Allow-Methods: POST, GET, OPTIONS, DELETE, HEAD, PUT^M