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
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.web-alt.yml"
|
||||
#WEB_ALT_ENABLED=1
|
||||
|
||||
#####################################################################
|
||||
# Extremely insecure options, do not use #
|
||||
#####################################################################
|
||||
#DISABLE_HTTPS_REDIRECT=1
|
||||
|
|
|
@ -24,12 +24,6 @@ api:
|
|||
entrypoints:
|
||||
web:
|
||||
address: ":80"
|
||||
{{ if not (eq (env "DISABLE_HTTPS_REDIRECT") "1") }}
|
||||
http:
|
||||
redirections:
|
||||
entryPoint:
|
||||
to: web-secure
|
||||
{{ end }}
|
||||
web-secure:
|
||||
address: ":443"
|
||||
{{ if eq (env "GITEA_SSH_ENABLED") "1" }}
|
||||
|
|
Loading…
Reference in New Issue