Run Zitadel with tlsMode external behind the edge
With tlsMode disabled Zitadel advertises http URLs, so the console calls http://<domain> and the CSP blocks it. Make it configurable through ZITADEL_TLS_MODE (default disabled for dev, external in prod).
This commit is contained in:
@@ -19,6 +19,7 @@ ZITADEL_MASTERKEY=CHANGE_ME_32_CHARACTERS_EXACTLY_
|
||||
ZITADEL_EXTERNAL_DOMAIN=auth.example.com
|
||||
ZITADEL_EXTERNAL_PORT=443
|
||||
ZITADEL_EXTERNAL_SECURE=true
|
||||
ZITADEL_TLS_MODE=external
|
||||
ZITADEL_DATABASE_PASSWORD=CHANGE_ME
|
||||
ZITADEL_ADMIN_USERNAME=admin
|
||||
ZITADEL_ADMIN_PASSWORD=CHANGE_ME
|
||||
|
||||
Reference in New Issue
Block a user