Updated the nginx.conf
This commit is contained in:
1 parent
3bbacab487
commit
aa589960b1
2 files changed
+2
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
#################################################
|
#################################################
|
||||||
# DO Community Playbooks: Docker
|
# DO Community Playbooks: Nextcloud
|
||||||
#################################################
|
#################################################
|
||||||
---
|
---
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ http {
|
|||||||
add_header X-Download-Options "noopen" always;
|
add_header X-Download-Options "noopen" always;
|
||||||
add_header X-Frame-Options "SAMEORIGIN" always;
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
||||||
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
add_header X-Permitted-Cross-Domain-Policies "none" always;
|
||||||
add_header X-Robots-Tag "none" always;
|
add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive" always;
|
||||||
add_header X-XSS-Protection "1; mode=block" always;
|
add_header X-XSS-Protection "1; mode=block" always;
|
||||||
|
|
||||||
# Remove X-Powered-By, which is an information leak
|
# Remove X-Powered-By, which is an information leak
|
||||||
|
|||||||
Reference in new issue
Block a user