Fix reverse proxy to cockpit dashboard

This commit is contained in:
2023-04-06 10:56:26 +02:00
parent 302d75066f
commit 8ca0cf3727
2 changed files with 5 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
[WebService]
Origins = http://{{ inventory_hostname }} ws://{{ inventory_hostname }} https://{{ inventory_hostname }} wss://{{ inventory_hostname }} http://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:9090 ws://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:9090 https://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:9090 wss://{{ hostvars[inventory_hostname]['ansible_default_ipv4']['address'] }}:9090
Origins = https://{{ inventory_hostname }} wss://{{ inventory_hostname }}
ProtocolHeader = X-Forwarded-Proto
UrlRoot=/admin