mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
prevent click-jacking
This commit is contained in:
@@ -76,6 +76,9 @@ http {
|
|||||||
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
# HSTS (ngx_http_headers_module is required) (15768000 seconds = 6 months)
|
||||||
add_header Strict-Transport-Security max-age=15768000;
|
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 /favicon.ico { alias /var/lib/awx/public/static/favicon.ico; }
|
||||||
location /static { alias /var/lib/awx/public/static; }
|
location /static { alias /var/lib/awx/public/static; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user