mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 04:19:18 +00:00
Added Referrer-Policy HTTP Security Header for Nextcloud Nginx.
This commit is contained in:
parent
69f894b4d3
commit
7c854f7e9c
@ -10,6 +10,7 @@ server {
|
|||||||
add_header X-Robots-Tag none;
|
add_header X-Robots-Tag none;
|
||||||
add_header X-Download-Options noopen;
|
add_header X-Download-Options noopen;
|
||||||
add_header X-Permitted-Cross-Domain-Policies none;
|
add_header X-Permitted-Cross-Domain-Policies none;
|
||||||
|
add_header Referrer-Policy "same-origin";
|
||||||
|
|
||||||
location = /robots.txt {
|
location = /robots.txt {
|
||||||
allow all;
|
allow all;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user