clarified middlewares' comments
This commit is contained in:
parent
a40e9ad9ad
commit
a1428f0d3b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user