2026-01-04 21:51:18 +00:00

15 lines
463 B
INI

[uwsgi]
http-socket = [::]:8000
buffer-size = 32768
enable-threads
plugin = python3
virtualenv = /lsiopy
module = netbox.wsgi:application
static-map = /static=static
static-gzip-dir = static/CACHE
static-index = index.html
hook-pre-app = exec:python3 ./manage.py collectstatic --noinput
hook-pre-app = exec:python3 ./manage.py remove_stale_contenttypes --no-input
hook-pre-app = exec:python3 ./manage.py clearsessions
attach-daemon = python3 ./manage.py rqworker