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: ...@@ -18,6 +18,7 @@ Variables defined in defaults/main.yaml:
* default_sshd_port: Port on which SSH daemon listens (defaults to 10022) * default_sshd_port: Port on which SSH daemon listens (defaults to 10022)
* host_user : user used to connect to the server * host_user : user used to connect to the server
* srv_proxy_pass: Password to access proxy protected pages (AUTH defaults to SuperSecureProxyP4$$) * 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 : 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 * docker_auth
......
...@@ -20,3 +20,6 @@ metabase: false ...@@ -20,3 +20,6 @@ metabase: false
## Auth ## Auth
ldap_url: "ldap.example.org" ldap_url: "ldap.example.org"
sso_url: "sso.example.org" sso_url: "sso.example.org"
## iframe
allow_iframe: false
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
contentTypeNosniff = true contentTypeNosniff = true
referrerPolicy = "same-origin" referrerPolicy = "same-origin"
forceSTSHeader = true forceSTSHeader = true
{% if not cloud_onlyoffice %} {% if not cloud_onlyoffice and not allow_iframe %}
frameDeny = true frameDeny = true
customFrameOptionsValue = "SAMEORIGIN" customFrameOptionsValue = "SAMEORIGIN"
{% endif %} {% 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