Add 'nextcloud-nginx-adv.txt'
This commit is contained in:
parent
0b220f6af0
commit
23cbaaca27
|
@ -0,0 +1,14 @@
|
||||||
|
add_header Referrer-Policy "no-referrer" always;
|
||||||
|
add_header X-Content-Type-Options "nosniff" always;
|
||||||
|
add_header X-Download-Options "noopen" always;
|
||||||
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
|
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||||
|
add_header X-Robots-Tag "none" always;
|
||||||
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
|
|
||||||
|
location /.well-known/carddav {
|
||||||
|
return 301 https://$host/remote.php/dav;
|
||||||
|
}
|
||||||
|
location /.well-known/caldav {
|
||||||
|
return 301 https://$host/remote.php/dav;
|
||||||
|
}
|
Loading…
Reference in New Issue