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
|
2023-01-21 15:36:10 +00:00
|
|
|
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
|
2022-03-26 09:02:36 +00:00
|
|
|
buffer-size = 8192
|
2023-01-07 18:49:11 +00:00
|
|
|
die-on-term = true
|
2020-12-31 06:02:28 +00:00
|
|
|
|
2022-08-07 10:41:11 +00:00
|
|
|
if-env = LD_CONTEXT_PATH
|
|
|
|
static-map = /%(_)static=static
|
2023-01-21 15:36:10 +00:00
|
|
|
static-map = /%(_)static=data/favicons
|
2022-08-07 10:41:11 +00:00
|
|
|
endif =
|
|
|
|
|
2020-12-31 06:02:28 +00:00
|
|
|
if-env = LD_REQUEST_TIMEOUT
|
|
|
|
http-timeout = %(_)
|
|
|
|
socket-timeout = %(_)
|
|
|
|
harakiri = %(_)
|
2023-05-18 07:34:55 +00:00
|
|
|
endif =
|
|
|
|
|
|
|
|
if-env = LD_LOG_X_FORWARDED_FOR
|
|
|
|
log-x-forwarded-for = %(_)
|
|
|
|
endif =
|