Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.

Commit 09fe17e

Browse files
committed
chore(weblate): add CSRF_TRUSTED_ORIGINS to environment config
1 parent a89acba commit 09fe17e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

compose.weblate.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ services:
4646
- WEBLATE_ADMIN_PASSWORD=${WEBLATE_ADMIN_PASSWORD:-admin}
4747
- WEBLATE_SITE_DOMAIN=${WEBLATE_SITE_DOMAIN}
4848
- WEBLATE_ALLOWED_HOSTS=${WEBLATE_SITE_DOMAIN},localhost,127.0.0.1
49-
- WEBLATE_ENABLE_HTTPS=0
49+
- WEBLATE_ENABLE_HTTPS=${WEBLATE_ENABLE_HTTPS:-1}
50+
- CSRF_TRUSTED_ORIGINS=https://${WEBLATE_SITE_DOMAIN}
5051

5152
# Proton Mail SMTP Configuration
5253
- WEBLATE_SERVER_EMAIL=${WEBLATE_EMAIL_FROM:-noreply@khaxy.net}

0 commit comments

Comments
 (0)