diff --git a/nginx/sites-enabled/webdav b/nginx/sites-enabled/webdav index 1bbf27d..eed8b70 100644 --- a/nginx/sites-enabled/webdav +++ b/nginx/sites-enabled/webdav @@ -17,11 +17,11 @@ server { # Permissions policy. May cause issues with some clients add_header Permissions-Policy "accelerometer=(), ambient-light-sensor=(), battery=(), bluetooth=(), camera=(), clipboard-read=(), display-capture=(), document-domain=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), interest-cohort=(), keyboard-map=(), local-fonts=(), magnetometer=(), microphone=(), payment=(), publickey-credentials-get=(), serial=(), sync-xhr=(), usb=(), xr-spatial-tracking=()" always; - # location /main { - - # } + location /main { + return 404; + } location / { - try_files =404; + return 404; } }