Set X-Frame-Options for nextcloud

This commit is contained in:
Wojciech Kozlowski 2019-11-14 23:01:14 +08:00
parent 4f74256555
commit 30e8d9d31c

View File

@ -44,6 +44,7 @@ http {
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 X-Frame-Options "SAMEORIGIN";
add_header Referrer-Policy no-referrer; add_header Referrer-Policy no-referrer;
root /var/www/html; root /var/www/html;