Remove hardcoded IPs
This commit is contained in:
parent
3e7f5b44b3
commit
cf908e7cce
@ -1,7 +1,7 @@
|
||||
http:
|
||||
routers:
|
||||
cockpit:
|
||||
rule: "Path(`/cockpit`)"
|
||||
rule: "PathPrefix(`/cockpit`)"
|
||||
entryPoints: https
|
||||
service: cockpit
|
||||
tls:
|
||||
@ -11,4 +11,4 @@ http:
|
||||
cockpit:
|
||||
loadBalancer:
|
||||
servers:
|
||||
- url: "http://131.175.120.208:9090"
|
||||
- url: "http://{{ ansible_host }}:9090"
|
||||
|
@ -1,4 +1,4 @@
|
||||
[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
|
||||
AllowUnencrypted=true
|
Loading…
Reference in New Issue
Block a user