Ditch DISABLE_HTTPS_REDIRECT

This commit is contained in:
3wc 2024-04-01 22:53:56 -03:00
parent edc29f9594
commit c558e1dbdb
2 changed files with 0 additions and 11 deletions

View File

@ -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

View File

@ -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" }}