Re: nginx proxy zope/webdav, can´t see files
petite.abeille at gmail.com
Wed Dec 10 22:12:39 MSK 2008
On Dec 10, 2008, at 4:20 AM, mictlan tecutli wrote:
> i´m trying to use nginx to proxy to the zope webdav interface. i´m
> using davfs2 for webdav client. and it works well when i connect
> directly to the zope/webdav server. but when i proxy using nginx
> something strange occurs. i can not see the files using my webdav
> client. i can upload files if i connect directly to the folder where
> i have permissions to put them. but if i try to list files in the
> davfs mountpoint, nothing is shown. niether files nor folders.
Not familiar with zope itself, but WebDAV over nginx works as
advertised in and by itself.
For example, the HTTP server bellow vends its content through WebDAV:
xxx.xxx.xxx.xxx - - [10/Dec/2008:19:05:48 -0000] "PROPFIND /recent/
HTTP/1.0" 207 137187 - "WebDAVFS/1.7 (01708000) Darwin/9.5.0 (i386)"
For what's worth, here is the nginx configuration used:
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-For $remote_addr;
More information about the nginx