Update traefik/data/traefik.yml

This commit is contained in:
2024-03-05 20:04:41 +03:00
parent 4fcd34536a
commit 42f23c8f5d
+6 -5
View File
@@ -8,11 +8,12 @@ api:
entryPoints:
http:
address: ":80"
http:
redirections:
entryPoint:
to: https
scheme: https
# THE NEXT 5 LINES ARE A GLOBAL WAY TO REDIRECT ALL HTTP TRAFFIC TO HTTPS, NOT RECOMMENDED AS CLOUDFLARE DOES THAT FOR YOU ANYWAY AND YOU CAN SET IT ON A PER APP BASIS IF NEEDED. WILL NEED HTTP FOR INTERNAL NETWORK.
#http:
#redirections:
#entryPoint:
#to: https
#scheme: https
https:
address: ":443"
http: