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:
|
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 }}"
|
||||||
|
|
Loading…
Reference in a new issue