Welcome! Log In Create A New Profile

Advanced

Re: How to proxy a webdav request

April 10, 2009 03:03AM
On Thu, Apr 09, 2009 at 12:38:47AM -0400, iravana wrote:

> All,
>
> I am trying to proxy a PROPFIND request to a webdav server. So essentially I am trying to send any requests made to https://localhost/webdav to another server https://my.webdavserver.com. I tried to do this by setting up a proxy like this:
>
> location /webdav/ {
> proxy_pass https://my.webdavserver.com/;
> proxy_pass_header Server;
> proxy_set_header Host $http_host;
> }
>
> This is not working as the PROPFIND request is being converted into a GET by nginx when it sends the request to the proxied server. What am I missing or doing wrong? Have been fighting with this for quite a while. If anyone has any ideas, would really appreciate some help.

nginx does not change request method in this case. So the problem is not here.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

How to proxy a webdav request

iravana April 09, 2009 12:38AM

Re: How to proxy a webdav request

iravana April 09, 2009 03:59PM

Re: How to proxy a webdav request

Igor Sysoev April 10, 2009 03:03AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready