forked from coop-cloud/traefik
Ditch DISABLE_HTTPS_REDIRECT
This commit is contained in:
parent
edc29f9594
commit
c558e1dbdb
|
@ -135,8 +135,3 @@ COMPOSE_FILE="compose.yml"
|
||||||
# NOTE(3wc): as of 2024-04-01 only the `icecast` recipe uses this
|
# NOTE(3wc): as of 2024-04-01 only the `icecast` recipe uses this
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.web-alt.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.web-alt.yml"
|
||||||
#WEB_ALT_ENABLED=1
|
#WEB_ALT_ENABLED=1
|
||||||
|
|
||||||
#####################################################################
|
|
||||||
# Extremely insecure options, do not use #
|
|
||||||
#####################################################################
|
|
||||||
#DISABLE_HTTPS_REDIRECT=1
|
|
||||||
|
|
|
@ -24,12 +24,6 @@ api:
|
||||||
entrypoints:
|
entrypoints:
|
||||||
web:
|
web:
|
||||||
address: ":80"
|
address: ":80"
|
||||||
{{ if not (eq (env "DISABLE_HTTPS_REDIRECT") "1") }}
|
|
||||||
http:
|
|
||||||
redirections:
|
|
||||||
entryPoint:
|
|
||||||
to: web-secure
|
|
||||||
{{ end }}
|
|
||||||
web-secure:
|
web-secure:
|
||||||
address: ":443"
|
address: ":443"
|
||||||
{{ if eq (env "GITEA_SSH_ENABLED") "1" }}
|
{{ if eq (env "GITEA_SSH_ENABLED") "1" }}
|
||||||
|
|
Loading…
Reference in New Issue