mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-29 04:23:34 +01:00
5 lines
269 B
Django/Jinja
5 lines
269 B
Django/Jinja
{% if landingpage_iframe_enabled | default(applications.get(application_id).get('landingpage_iframe_enabled')) | bool %}
|
|
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
add_header Content-Security-Policy "frame-ancestors 'self' {{primary_domain}};" always;
|
|
{% endif %}
|