clarified middlewares' comments
This commit is contained in:
parent
a40e9ad9ad
commit
a1428f0d3b
@ -36,9 +36,9 @@ services:
|
|||||||
labels:
|
labels:
|
||||||
# expose Træfik using Træfik (dashboard)
|
# expose Træfik using Træfik (dashboard)
|
||||||
- traefik.enable=${TRAEFIK_ENABLED}
|
- 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}
|
- 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.scheme=https
|
||||||
- traefik.http.middlewares.http-to-https.redirectscheme.permanent=true
|
- traefik.http.middlewares.http-to-https.redirectscheme.permanent=true
|
||||||
### Section HTTP
|
### Section HTTP
|
||||||
|
Loading…
Reference in New Issue
Block a user