mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
Update nginx.conf
This commit is contained in:
parent
f54df2e07d
commit
e0baa0566d
1 changed files with 4 additions and 0 deletions
|
@ -7,6 +7,10 @@ location / {
|
||||||
|
|
||||||
#client_max_body_size 50M;
|
#client_max_body_size 50M;
|
||||||
|
|
||||||
|
more_set_headers "X-Frame-Options: SAMEORIGIN";
|
||||||
|
more_set_headers "X-XSS-Protection: 1; mode=block";
|
||||||
|
more_set_headers "X-Content-Type-Options: nosniff";
|
||||||
|
|
||||||
location = /favicon.ico { access_log off; log_not_found off; }
|
location = /favicon.ico { access_log off; log_not_found off; }
|
||||||
location = /robots.txt { access_log off; log_not_found off; }
|
location = /robots.txt { access_log off; log_not_found off; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue