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:
address: :80
http:
middlewares:
- tls-redirect@file
redirections:
entryPoint:
to: web-secure
scheme: https
proxyProtocol:
trustedIPs:
- "{{ wireguard.cidr }}"