Skip to content
Snippets Groups Projects
Commit d47e3b47 authored by Théo - Le Filament's avatar Théo - Le Filament
Browse files

[ADD] allow iframe option

parent ef6de418
No related branches found
No related tags found
No related merge requests found
......@@ -18,6 +18,7 @@ Variables defined in defaults/main.yaml:
* default_sshd_port: Port on which SSH daemon listens (defaults to 10022)
* host_user : user used to connect to the server
* srv_proxy_pass: Password to access proxy protected pages (AUTH defaults to SuperSecureProxyP4$$)
* allow_iframe: whether iframes are allowed
This role makes use of a few variables which are set in case the target server is part of other groups (but still initialized to false in defaults/main.yml), namely :
* docker_auth
......
......@@ -20,3 +20,6 @@ metabase: false
## Auth
ldap_url: "ldap.example.org"
sso_url: "sso.example.org"
## iframe
allow_iframe: false
......@@ -51,7 +51,7 @@
contentTypeNosniff = true
referrerPolicy = "same-origin"
forceSTSHeader = true
{% if not cloud_onlyoffice %}
{% if not cloud_onlyoffice and not allow_iframe %}
frameDeny = true
customFrameOptionsValue = "SAMEORIGIN"
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment