Introduced SSL_ENABLED flag

This commit is contained in:
2025-12-02 13:51:22 +01:00
parent 5b18f39ccd
commit 4b5ba892ba
7 changed files with 15 additions and 12 deletions

View File

@@ -54,7 +54,7 @@ REDIS_ACTIVITY_URL="{{ BOOKWYRM_REDIS_ACTIVITY_URL }}"
# Proxy (if BookWyrm sits behind reverse proxy)
FORWARDED_ALLOW_IPS="*"
USE_X_FORWARDED_HOST="true"
SECURE_PROXY_SSL_HEADER="{{ (WEB_PORT == 443) | string | lower }}"
SECURE_PROXY_SSL_HEADER="{{ SSL_ENABLED | bool | string | lower }}"
# OIDC (optional only if BOOKWYRM_OIDC_ENABLED)
{% if BOOKWYRM_OIDC_ENABLED %}