Created
June 19, 2012 08:45
-
-
Save gotbadger/2953068 to your computer and use it in GitHub Desktop.
Nginx PUT
This file contains 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
server { | |
listen 8880; | |
root /var/www; | |
index index.html index.htm; | |
server_name localhost; | |
location / { | |
autoindex on; | |
client_body_temp_path /tmp/client_temp; | |
dav_methods PUT DELETE MKCOL COPY MOVE; | |
create_full_put_path on; | |
dav_access group:rw all:r; | |
limit_except GET { | |
allow 192.168.1.0/32; | |
deny all; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment