Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
99936080ae
|
||
|
|
7610c9f4db
|
@@ -235,3 +235,11 @@ WRITE_TIMEOUT=0s
|
|||||||
|
|
||||||
## Access logs
|
## Access logs
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.access-log.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.access-log.yml"
|
||||||
|
|
||||||
|
## Behind a reverse proxy
|
||||||
|
#
|
||||||
|
# YAML array of subnets from which Traefik's trusts the x-real-ip
|
||||||
|
# header when behind a reverse proxy.
|
||||||
|
#
|
||||||
|
# https://doc.traefik.io/traefik/reference/install-configuration/entrypoints/#opt-forwardedHeaders-trustedIPs
|
||||||
|
#TRUSTED_IPS="['10.13.12.1']" # 10.13.12.1 is an example
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export TRAEFIK_YML_VERSION=v33
|
export TRAEFIK_YML_VERSION=v34
|
||||||
export FILE_PROVIDER_YML_VERSION=v12
|
export FILE_PROVIDER_YML_VERSION=v12
|
||||||
export ENTRYPOINT_VERSION=v5
|
export ENTRYPOINT_VERSION=v5
|
||||||
export ANUBIS_YML_VERSION=v1
|
export ANUBIS_YML_VERSION=v1
|
||||||
|
|||||||
@@ -48,6 +48,10 @@ entrypoints:
|
|||||||
to: web-secure
|
to: web-secure
|
||||||
web-secure:
|
web-secure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
|
{{ if ne (env "TRUSTED_IPS") "" }}
|
||||||
|
forwardedHeaders:
|
||||||
|
trustedIPs: {{ env "TRUSTED_IPS" }}
|
||||||
|
{{ end }}
|
||||||
transport:
|
transport:
|
||||||
respondingTimeouts:
|
respondingTimeouts:
|
||||||
readTimeout: {{ env "READ_TIMEOUT" }}
|
readTimeout: {{ env "READ_TIMEOUT" }}
|
||||||
|
|||||||
Reference in New Issue
Block a user