feat: port configuration

This commit is contained in:
chillymattster
2025-11-14 10:26:09 +01:00
parent df985a5304
commit ba14b78f58
6 changed files with 25 additions and 18 deletions

View File

@@ -14,10 +14,10 @@ add_arg "--log.level=${TRAEFIK_LOG_LEVEL:-ERROR}"
# enable dashboard
add_arg "--api.dashboard=true"
# define entrypoints
add_arg "--entryPoints.http.address=:80"
add_arg "--entryPoints.http.address=:${TRAEFIK_HTTP_PORT:-80}"
add_arg "--entryPoints.http.http.redirections.entryPoint.to=https"
add_arg "--entryPoints.http.http.redirections.entryPoint.scheme=https"
add_arg "--entryPoints.https.address=:443"
add_arg "--entryPoints.https.address=:${TRAEFIK_HTTPS_PORT:-443}"
# change default timeouts for long-running requests
# this is needed for webdav clients that do not support the TUS protocol
add_arg "--entryPoints.https.transport.respondingTimeouts.readTimeout=12h"