Created
June 15, 2012 08:46
-
-
Save shelling/2935474 to your computer and use it in GitHub Desktop.
nginx with full webdav support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # full webdav configuration with | |
| # https://github.com/arut/nginx-dav-ext-module | |
| server { | |
| listen 7500; | |
| access_log /var/log/nginx/localhost.access.log; | |
| error_log /var/log/nginx/localhost.error.log; | |
| location / { | |
| root /home/mogdata; | |
| autoindex on; | |
| dav_methods PUT DELETE MKCOL COPY MOVE; | |
| dav_ext_methods PROPFIND OPTIONS; | |
| client_body_temp_path /tmp; | |
| client_max_body_size 10000m; # 10G | |
| create_full_put_path on; | |
| dav_access all:rw; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment