librespeed/docker-compose-traefik.yml aktualisiert
This commit is contained in:
@@ -5,9 +5,9 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
- TZ=${TZ:-Europe/Berlin}
|
||||
- ServerName=${SERVER_NAME:-librespeed}
|
||||
- TITLE=${TITLE:-LibreSpeed}
|
||||
|
||||
# LibreSpeed Optionen
|
||||
- PASSWORD=${LIBRESPEED_PASSWORD:-}
|
||||
@@ -21,14 +21,14 @@ services:
|
||||
- "traefik.enable=true"
|
||||
|
||||
# HTTPS Router
|
||||
- "traefik.http.routers.librespeed.rule=Host(`${LIBRESPEED_HOSTNAME}`)"
|
||||
- "traefik.http.routers.librespeed.rule=Host(`${SERVER_NAME}`)"
|
||||
- "traefik.http.routers.librespeed.entrypoints=websecure"
|
||||
- "traefik.http.routers.librespeed.tls=true"
|
||||
- "traefik.http.routers.librespeed.tls.certresolver=le"
|
||||
- "traefik.http.routers.librespeed.service=librespeed"
|
||||
|
||||
# HTTP → HTTPS Redirect
|
||||
- "traefik.http.routers.librespeed-insecure.rule=Host(`${LIBRESPEED_HOSTNAME}`)"
|
||||
- "traefik.http.routers.librespeed-insecure.rule=Host(`${SERVER_NAME}`)"
|
||||
- "traefik.http.routers.librespeed-insecure.entrypoints=web"
|
||||
- "traefik.http.routers.librespeed-insecure.middlewares=librespeed-redirect"
|
||||
- "traefik.http.middlewares.librespeed-redirect.redirectscheme.scheme=https"
|
||||
|
||||
Reference in New Issue
Block a user