Correctly redirect http traffic to https

Bug caused by https://github.com/traefik/traefik/issues/8035
This commit is contained in:
Jake Howard 2021-04-06 11:56:05 +01:00
parent f0193b5807
commit 22d43c16a7
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -2,8 +2,10 @@ entryPoints:
web: web:
address: :80 address: :80
http: http:
middlewares: redirections:
- tls-redirect@file entryPoint:
to: web-secure
scheme: https
proxyProtocol: proxyProtocol:
trustedIPs: trustedIPs:
- "{{ wireguard.cidr }}" - "{{ wireguard.cidr }}"