I have a setup where I'm using an Accel-Redirect header in php like this:
header("X-Accel-Redirect: /testxxx.php?".$_SERVER['QUERY_STRING']);

Furthermore I'm using HTTP/2.0 and SSL, running on nginx 1.11.8.

The problem is: When doing a POST request on my upload.php (which then does
an x-accel-redirect to testxxx.php) the $request_method has the value
"GET".

I have a section in my nginx php config where I use "add_header" to output
the value of $request_method. So that's how I know this value is set to
"GET".

Some weeks ago this was working correct. All I changed since then was
switching to HTTPS.

Posted at Nginx Forum: 
https://forum.nginx.org/read.php?2,272029,272029#msg-272029

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to