Ensure traefik only listens on wireguard network

This commit is contained in:
Jake Howard 2020-07-12 19:29:18 +01:00
parent 0314908eac
commit 3c49c80ff1
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -14,6 +14,8 @@ entryPoints:
proxyProtocol: proxyProtocol:
trustedIPs: trustedIPs:
- "{{ wireguard.cidr }}" - "{{ wireguard.cidr }}"
traefik:
address: "{{ wireguard.clients[ansible_fqdn].ip }}:8080"
ping: {} ping: {}