Uploading files to remote server running nginx 1.24 returns http status code 405 Not Allowed.

Reinis Rozitis r at roze.lv
Mon Dec 18 14:48:58 UTC 2023


> When I am trying to upload files by hitting https://software.example.com/upload_form.html I am encountering http status code 405 Not Allowed. Please find inline a screenshot for your reference. 

Does your upload form point exactly to '/upload.php' ? as by by default Nginx doesn't allow POST on static content which would indicate that the form submits to a static document.

rr


More information about the nginx mailing list