forked from infra/ansible
pagure: drop the frontend sub-directory
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
9306e7c1cf
commit
dc59446b99
27 changed files with 1 additions and 1 deletions
8
roles/pagure/templates/securityheaders.conf
Normal file
8
roles/pagure/templates/securityheaders.conf
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
Header always set X-Xss-Protection "1; mode=block"
|
||||
Header always set X-Content-Type-Options "nosniff"
|
||||
Header always set Referrer-Policy "same-origin"
|
||||
{% if env == 'pagure-staging' %}
|
||||
Header always set X-Frame-Options "ALLOW-FROM https://stg.pagure.io/"
|
||||
{% else %}
|
||||
Header always set X-Frame-Options "ALLOW-FROM https://pagure.io/"
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue