mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
prevent click-jacking
This commit is contained in:
parent
2afdf35375
commit
f794b1eb1f
@ -76,6 +76,9 @@ http {
|
||||
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
||||
add_header Strict-Transport-Security max-age=15768000;
|
||||
|
||||
# Protect against click-jacking https://www.owasp.org/index.php/Testing_for_Clickjacking_(OTG-CLIENT-009)
|
||||
add_header X-Frame-Options "DENY";
|
||||
|
||||
location /favicon.ico { alias /var/lib/awx/public/static/favicon.ico; }
|
||||
location /static { alias /var/lib/awx/public/static; }
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user