Skip to content
Extraits de code Groupes Projets
Valider d47e3b47 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

[ADD] allow iframe option

parent ef6de418
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter