mirror of
https://github.com/sissbruecker/linkding
synced 2024-11-10 06:04:15 +00:00
87cd4061cb
* Preview Image * fix tests * add test * download preview image * relative path * gst * details view * fix tests * Improve preview image styles * Remove preview image URL from model * Revert form changes * update tests * make it work in uwsgi --------- Co-authored-by: Sascha Ißbrücker <sascha.issbruecker@gmail.com>
31 lines
657 B
INI
31 lines
657 B
INI
[uwsgi]
|
|
module = siteroot.wsgi:application
|
|
env = DJANGO_SETTINGS_MODULE=siteroot.settings.prod
|
|
static-map = /static=static
|
|
static-map = /static=data/favicons
|
|
static-map = /static=data/previews
|
|
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
|
|
static-map = /%(_)static=data/previews
|
|
endif =
|
|
|
|
if-env = LD_REQUEST_TIMEOUT
|
|
http-timeout = %(_)
|
|
socket-timeout = %(_)
|
|
harakiri = %(_)
|
|
endif =
|
|
|
|
if-env = LD_LOG_X_FORWARDED_FOR
|
|
log-x-forwarded-for = %(_)
|
|
endif =
|