clarified middlewares' comments

This commit is contained in:
bryanpedini committed 2022-08-16 15:45:53 +02:00
1 parent a40e9ad9ad
commit a1428f0d3b
1 file changed
+2 -2
+2 -2
View File
@@ -36,9 +36,9 @@ services:
labels:
# expose Træfik using Træfik (dashboard)
- traefik.enable=${TRAEFIK_ENABLED}
# configure a global whitelist for my home
# configure a global whitelist for accessing the Træfik dashboard
- traefik.http.middlewares.dashboard-whitelist.ipwhitelist.sourcerange=${TRAEFIK_DASHBOARD_WHITELIST}
# configure the global redirect middleware
# configure a global middleware for redirecting HTTP to HTTPS
- traefik.http.middlewares.http-to-https.redirectscheme.scheme=https
- traefik.http.middlewares.http-to-https.redirectscheme.permanent=true
### Section HTTP