How to respond correctly to a POST request for a static file?

johnny nginx-forum at
Thu Jan 12 22:14:27 UTC 2012

Thanks, but I'm getting a 404, not a 405. Using the solution you linked
to would require all 404s to be 200, which is not a good idea. Any was
to limit this to just index.html?

Posted at Nginx Forum:,221059,221133#msg-221133

More information about the nginx mailing list