mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-01 06:44:16 +02:00
5 lines
327 B
Django/Jinja
5 lines
327 B
Django/Jinja
{% if landingpage_iframe_enabled | bool %}
|
|
add_header X-Frame-Options "SAMEORIGIN" always; # Allow iframe embedding only from the same origin
|
|
add_header Content-Security-Policy "frame-ancestors {{primary_domain}};" always; # Restrict embedding to the specified primary domain
|
|
{% endif %}
|