Correctly redirect http traffic to https
Bug caused by https://github.com/traefik/traefik/issues/8035
This commit is contained in:
parent
f0193b5807
commit
22d43c16a7
1 changed files with 4 additions and 2 deletions
|
@ -2,8 +2,10 @@ entryPoints:
|
|||
web:
|
||||
address: :80
|
||||
http:
|
||||
middlewares:
|
||||
- tls-redirect@file
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: web-secure
|
||||
scheme: https
|
||||
proxyProtocol:
|
||||
trustedIPs:
|
||||
- "{{ wireguard.cidr }}"
|
||||
|
|
Loading…
Reference in a new issue