mirror of
https://github.com/eduardogsilva/wireguard_webadmin.git
synced 2026-01-01 06:16:16 +00:00
Enable static file caching with WhiteNoise and nginx. Switch to Gunicorn for deployment
This commit is contained in:
2
init.sh
2
init.sh
@@ -16,4 +16,4 @@ fi
|
||||
# Django startup
|
||||
python manage.py migrate --noinput
|
||||
python manage.py collectstatic --noinput
|
||||
exec python manage.py runserver 0.0.0.0:8000
|
||||
exec gunicorn wireguard_webadmin.wsgi:application --bind 0.0.0.0:8000 --workers 2 --threads 2 --timeout 60 --log-level info --capture-output --access-logfile - --error-logfile -
|
||||
Reference in New Issue
Block a user