From: Guillaume Pellerin Date: Tue, 28 Jun 2022 09:07:59 +0000 (+0200) Subject: use relative /media/, mv unix socket X-Git-Tag: 2.8.1-pro~114 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=4d6f7ab669234f5b43e3dfcae702b4b2ae46fff6;p=teleforma.git use relative /media/, mv unix socket --- diff --git a/app/run/.placeholer b/app/run/.placeholer deleted file mode 100644 index e69de29b..00000000 diff --git a/app/settings.py b/app/settings.py index e2b52826..f96a079d 100644 --- a/app/settings.py +++ b/app/settings.py @@ -106,7 +106,7 @@ MEDIA_ROOT = '/srv/media/' # trailing slash if there is a path component (optional in other cases). # Examples: "http://media.lawrence.com", "http://example.com/media/" #MEDIA_URL = 'http://pre-barreau.com/archives/' -MEDIA_URL = 'https://e-learning.pro-barreau.com/media/' +MEDIA_URL = '/media/' # Absolute path to the directory static files should be collected to. # Don't put anything in this directory yourself; store your static files diff --git a/app/wsgi.ini b/app/wsgi.ini index 8f56c13d..7404e995 100644 --- a/app/wsgi.ini +++ b/app/wsgi.ini @@ -1,6 +1,6 @@ [uwsgi] -socket = /srv/app/run/wsgi.sock +socket = /var/run/elearning/wsgi.sock chdir = /srv/app/ module = wsgi touch-reload = /srv/app/wsgi.py