Fix environment variable handling for production deployment

- Update settings.py to support both ALLOWED_HOSTS and DJANGO_ALLOWED_HOSTS
- Add production CSRF_TRUSTED_ORIGINS for vhtv-stiftung.de
- Update env-template.txt with production variable examples
- Improve compatibility between development and production environments
This commit is contained in:
Stiftung Development
2025-09-09 21:02:21 +02:00
parent 0c4b0fd48c
commit edfb233348
15 changed files with 1281 additions and 6 deletions

View File

@@ -176,7 +176,7 @@ jobs:
deploy:
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && false # Temporarily disabled - server setup in progress
environment: production