Remove hardcoded IPs
This commit is contained in:
parent
3e7f5b44b3
commit
cf908e7cce
@ -1,7 +1,7 @@
|
|||||||
http:
|
http:
|
||||||
routers:
|
routers:
|
||||||
cockpit:
|
cockpit:
|
||||||
rule: "Path(`/cockpit`)"
|
rule: "PathPrefix(`/cockpit`)"
|
||||||
entryPoints: https
|
entryPoints: https
|
||||||
service: cockpit
|
service: cockpit
|
||||||
tls:
|
tls:
|
||||||
@ -11,4 +11,4 @@ http:
|
|||||||
cockpit:
|
cockpit:
|
||||||
loadBalancer:
|
loadBalancer:
|
||||||
servers:
|
servers:
|
||||||
- url: "http://131.175.120.208:9090"
|
- url: "http://{{ ansible_host }}:9090"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
[WebService]
|
[WebService]
|
||||||
Origins = http://{{ inventory_hostname }} ws://{{ inventory_hostname }} https://{{ inventory_hostname }} wss://{{ inventory_hostname }} http://131.175.120.208 ws://131.175.120.208 https://131.175.120.208 wss://131.175.120.208
|
Origins = http://{{ inventory_hostname }} ws://{{ inventory_hostname }} https://{{ inventory_hostname }} wss://{{ inventory_hostname }} http://{{ ansible_host }} ws://{{ ansible_host }} https://{{ ansible_host }} wss://{{ ansible_host }}
|
||||||
ProtocolHeader = X-Forwarded-Proto
|
ProtocolHeader = X-Forwarded-Proto
|
||||||
AllowUnencrypted=true
|
AllowUnencrypted=true
|
Loading…
Reference in New Issue
Block a user