Add base for webdav in the future
This commit is contained in:
1 parent
d378bd8d3e
commit
dab9c53c9f
1 file changed
+4
-4
@@ -17,11 +17,11 @@ server {
|
|||||||
# Permissions policy. May cause issues with some clients
|
# 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;
|
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 / {
|
location / {
|
||||||
try_files =404;
|
return 404;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user