summaryrefslogtreecommitdiff
path: root/templates/cockpit.conf.j2
diff options
context:
space:
mode:
authorheqnx <root@heqnx.com>2025-10-02 13:08:58 +0300
committerheqnx <root@heqnx.com>2025-10-02 13:08:58 +0300
commitc00c75d310e2afea3b521e8a4b90e800ab4f9ff2 (patch)
tree7875697bfeadfba2276e2e1d2066eca551bf3e17 /templates/cockpit.conf.j2
parentac5767248e7b20b376127ac8e3cfdd1a7aaf4193 (diff)
downloadansible-cockpit-c00c75d310e2afea3b521e8a4b90e800ab4f9ff2.tar.gz
ansible-cockpit-c00c75d310e2afea3b521e8a4b90e800ab4f9ff2.zip
initial commitHEADmain
Diffstat (limited to 'templates/cockpit.conf.j2')
-rw-r--r--templates/cockpit.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/cockpit.conf.j2 b/templates/cockpit.conf.j2
new file mode 100644
index 0000000..e1cf026
--- /dev/null
+++ b/templates/cockpit.conf.j2
@@ -0,0 +1,9 @@
+[WebService]
+Origins = https://{{ansible_host}}
+ProtocolHeader = X-Forwarded-Proto
+ForwardedForHeader = X-Forwarded-For
+
+[Session]
+IdleTimeout = 15
+LoginTo = false
+AllowMultiHost = false