Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Nginx reverse proxy webdav status code 405 Method Not Allowed.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Nginx reverse proxy webdav status code 405 Method Not Allowed. (Read 3459 times)
M@rch0n
Newbie
Posts: 20
Karma: 0
Nginx reverse proxy webdav status code 405 Method Not Allowed.
«
on:
October 02, 2019, 04:38:12 pm »
Hello,
I recently migrated my LINUX with POUND to OPNsense with NGINX. I now have a problem accessing webdav with status code 405 (Method Not Allowed). With POUND I decided to add the module "xHTTP 3", to allow extensions of MS WebDAV verbs (SUBSCRIBE, UNSUBSCRIBE, NOTIFY, BPROPFIND, BPROPPATCH, POLL, BMOVE, BCOPY, BDELETE, CONNECT).
How to modify it in Nginx in OPNsense?
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Nginx reverse proxy webdav status code 405 Method Not Allowed.
«
Reply #1 on:
October 02, 2019, 07:55:48 pm »
I have no idea what xHTTP is but nginx is not configured to block any verbs and I am proxying WebDAV to a nextcloud without any problems.
Can you explain the case a bit better?
Logged
M@rch0n
Newbie
Posts: 20
Karma: 0
Re: Nginx reverse proxy webdav status code 405 Method Not Allowed.
«
Reply #2 on:
October 03, 2019, 10:44:20 am »
Good morning Fabian,
After I switched to OPNsense, users of a system started reporting that they are receiving the error "405 Method not allowed". I had this same problem a few years ago when I activated the pound and to solve at the time I had to set this parameter in pound xHTTP.
Pound manual.
https://linux.die.net/man/8/pound
But now I have the same problem. In the Nginx log I see the 405 log as follows attachment.
Logged
fabian
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Nginx reverse proxy webdav status code 405 Method Not Allowed.
«
Reply #3 on:
October 05, 2019, 10:21:04 am »
This is a GET request. If nginx would block that, it would not serve any web page (if you enter an URL in your browser page, it will automatically send a GET request). This error probably comes from your upstream server. Please check its logs.
If you think nginx is the reason for the error, please send me the full HTTP request incliding the headers and the body (which is unlikely to exist on a GET request from a browser).
Logged
M@rch0n
Newbie
Posts: 20
Karma: 0
Re: Nginx reverse proxy webdav status code 405 Method Not Allowed.
«
Reply #4 on:
October 07, 2019, 06:50:15 pm »
Thank you Fabian,
This is an application, I already requested the dev team to complete the HTTP request for testing. As soon as I receive I follow the tests and inform the result.
Thanks.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Nginx reverse proxy webdav status code 405 Method Not Allowed.