linkding/uwsgi.ini

30 lines
583 B
INI
Raw Normal View History

2019-07-03 15:18:29 +00:00
[uwsgi]
module = siteroot.wsgi:application
2019-07-04 23:26:52 +00:00
env = DJANGO_SETTINGS_MODULE=siteroot.settings.prod
2019-07-03 15:18:29 +00:00
static-map = /static=static
static-map = /static=data/favicons
2022-05-21 08:42:30 +00:00
processes = 2
2019-07-03 15:18:29 +00:00
threads = 2
2019-07-04 23:26:52 +00:00
pidfile = /tmp/linkding.pid
2019-07-03 15:18:29 +00:00
vacuum=True
stats = 127.0.0.1:9191
2020-02-02 15:27:18 +00:00
uid = www-data
gid = www-data
buffer-size = 8192
die-on-term = true
if-env = LD_CONTEXT_PATH
static-map = /%(_)static=static
static-map = /%(_)static=data/favicons
endif =
if-env = LD_REQUEST_TIMEOUT
http-timeout = %(_)
socket-timeout = %(_)
harakiri = %(_)
endif =
if-env = LD_LOG_X_FORWARDED_FOR
log-x-forwarded-for = %(_)
endif =