Replaced nginx native with openresty for logout injection. Right now still buggy on nextcloud and espocrm

This commit is contained in:
2025-07-24 03:19:16 +02:00
parent f5213fd59c
commit f62355e490
129 changed files with 515 additions and 319 deletions

View File

@@ -0,0 +1,13 @@
# run_once_srv_web_7_7_inj_port_ui_desktop: deactivated
- name: "Load iFrame handler JS template for '{{ application_id }}'"
set_fact:
iframe_code: "{{ lookup('template','iframe-handler.js.j2') }}"
- name: "Collapse iFrame code into one-liner for '{{ application_id }}'"
set_fact:
iframe_code_one_liner: "{{ iframe_code | to_one_liner }}"
- name: "Append iFrame CSP hash for '{{ application_id }}'"
set_fact:
applications: "{{ applications | append_csp_hash(application_id, iframe_code_one_liner) }}"
changed_when: false