Add securityheades to websites
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
44a5ceb686
commit
9245388053
2 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
with_items:
|
||||
- logs
|
||||
- robots
|
||||
- securityheaders
|
||||
notify:
|
||||
- reload proxyhttpd
|
||||
tags:
|
||||
|
|
4
roles/httpd/website/templates/securityheaders.conf
Normal file
4
roles/httpd/website/templates/securityheaders.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
Header always set X-Frame-Options "DENY"
|
||||
Header always set X-Xss-Protection "1; mode=block"
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
Header always set Referrer-Policy "same-origin"
|
Loading…
Add table
Add a link
Reference in a new issue