1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-10 04:06:47 +00:00

fix(settings): ALLOWED_HOSTS lists the server's names instead of accepting any host

This commit is contained in:
catborise 2026-10-07 15:46:45 +03:00
parent c1381318f1
commit 9f5e8fe1c4
8 changed files with 90 additions and 4 deletions

View file

@ -14,6 +14,9 @@ services:
# - SECRET_KEY=your-custom-secret-key-here
# Optional: comma-separated trusted CSRF origins (e.g. http://wvc.example.com,https://wvc.example.com)
# - CSRF_TRUSTED_ORIGINS=http://localhost,http://127.0.0.1
# Host names/IPs the panel is reached by (comma-separated; "*" accepts any).
# Without it only localhost works. Set it in docker-compose.override.yml.
- ALLOWED_HOSTS=localhost
- TZ=UTC
volumes:
# Persistent SQLite database and runtime data