error_log /tmp/error.log; pid /tmp/nginx.pid; load_module /usr/lib/nginx/modules/ngx_http_dav_ext_module.so; events { worker_connections 1024; } http { server { listen 127.0.0.1:8080; server_name localhost; access_log /tmp/access.log; root /tmp/static; location / { client_body_temp_path /tmp; log_not_found off; dav_methods PUT DELETE MKCOL; dav_ext_methods PROPFIND OPTIONS LOCK UNLOCK; create_full_put_path on; client_max_body_size 1024M; auth_basic "Authentication required"; auth_basic_user_file /tmp/htpasswd; } } }