diff --git a/ansible/roles/traefik/files/traefik.yml b/ansible/roles/traefik/files/traefik.yml index 7a79df3..c2282af 100644 --- a/ansible/roles/traefik/files/traefik.yml +++ b/ansible/roles/traefik/files/traefik.yml @@ -2,8 +2,10 @@ entryPoints: web: address: :80 http: - middlewares: - - tls-redirect@file + redirections: + entryPoint: + to: web-secure + scheme: https proxyProtocol: trustedIPs: - "{{ wireguard.cidr }}"