Compare commits

..

1 Commits

Author SHA1 Message Date
fauno 488777367f feat: trusted ips
when traefik is behind a reverse proxy, we need to tell it which
networks to trust with x-real-ip headers
2026-07-28 17:09:57 -03:00
4 changed files with 9 additions and 2 deletions
+3
View File
@@ -225,3 +225,6 @@ WRITE_TIMEOUT=0s
## Enable onion service support
#ONION_ENABLED=1
# YAML array of trusted subnets
TRUSTED_IPS=
+1 -1
View File
@@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v32
export TRAEFIK_YML_VERSION=v32a
export FILE_PROVIDER_YML_VERSION=v12
export ENTRYPOINT_VERSION=v5
+1 -1
View File
@@ -62,7 +62,7 @@ services:
- "backupbot.backup=${ENABLE_BACKUPS:-true}"
socket-proxy:
image: lscr.io/linuxserver/socket-proxy:3.4.3
image: lscr.io/linuxserver/socket-proxy:3.4.2
deploy:
endpoint_mode: dnsrr
environment:
+4
View File
@@ -33,6 +33,10 @@ entrypoints:
to: web-secure
web-secure:
address: ":443"
{{ if ne (env "TRUSTED_IPS") "" }}
forwardedHeaders:
trustedIPs: {{ env "TRUSTED_IPS" }}
{{ end }}
transport:
respondingTimeouts:
readTimeout: {{ env "READ_TIMEOUT" }}