From dab9c53c9f222728b57157345f79fe587ca2c9a1 Mon Sep 17 00:00:00 2001 From: Matthew Pomes Date: Sun, 11 Oct 2026 23:43:26 -0500 Subject: [PATCH] Add base for webdav in the future --- nginx/sites-enabled/webdav | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; } }