1
vote
1answer
2k views

POST request is repeated with nginx loadbalanced server (status 499)

double uploads Ever since we went from a simple Apache instance to a loadbalanced environment, there are sometimes issues with POST requests getting repeated. We are running nginx as reverse proxy. ...
4
votes
1answer
2k views

Enabling Chunked Transfer encoding in Nginx v.1.3.9+

Apparently Nginx now supports Chunked, but I receive error "411 Length Required" when a tablet device sends a Chunked request to Nginx. Any advice as to how to configure Nginx to support Chunked? I'm ...
0
votes
1answer
457 views

nginx proxy_pass POST 404 errors

I have nginx proxying to an app server, with the following configuration: location /app/ { # send to app server without the /app qualifier rewrite /app/(.*)$ /$1 break; ...
0
votes
1answer
559 views

NGinx rewrite rules and post parameters

I have a website, using CodeIgniter, and running under NGinx. I used these rewrite rules to cleanup the URL, and remove the index.php from the URL. Unfortunately, I have a problem with AJAX queries ...
0
votes
1answer
256 views

nginx gzip is not working on GET method, but work on POST method

I got a problem on nginx 0.9.6 (centos) about gzip, when i use POST method, the gzip works, but but when i use GET method, it doesnt work. but for static css/js files are gziped for GET method, the ...
0
votes
2answers
436 views

why nginx rewrite post request from /login to //login?

There is a if statement, which will rewrite url when the client is Android. Everything ok. But, something got strange. Nginx will write post request /login to //login, even if the block of if ...
0
votes
1answer
1k views

($_SERVER['REQUEST_METHOD'] == 'POST') not working in nginx

Hi we have recently switched our Magento application from Apache to nginx and PHP-FPM on CentOS 5.6. We have an external payment gateway that sends us back some transaction information. The PHP file ...
0
votes
1answer
415 views

Why is nginx taking so long to reply? [duplicate]

I'm under a DDOS attack right now, and the attacker has his zombies sending POST requests to one of my pages. At first, nginx replies in only a few seconds, but after a while it starts building up; ...
2
votes
1answer
548 views

405 Method even when posting to a php file

I been googling, and all I can find is that this error may happen when you post to an html file. In my setup I have a rewrite rule, that basically hides the index.php from the url, and I for the ...
1
vote
1answer
4k views

NGINX does not pass POST request when posted to /

The issue occurs when sending a post request {username:'admin', password: 'password'} to http://guy.lt/fbb?foo=bar. The output is {"foo":"bar"}, though the expected output is: ...