mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-22 03:13:02 +00:00
a94eb5f85a
* Allow to log real client ip in logs when using a reverse proxy * rearrange options --------- Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@googlemail.com>
29 lines
583 B
INI
29 lines
583 B
INI
[uwsgi]
|
|
module = siteroot.wsgi:application
|
|
env = DJANGO_SETTINGS_MODULE=siteroot.settings.prod
|
|
static-map = /static=static
|
|
static-map = /static=data/favicons
|
|
processes = 2
|
|
threads = 2
|
|
pidfile = /tmp/linkding.pid
|
|
vacuum=True
|
|
stats = 127.0.0.1:9191
|
|
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 =
|