]> git.parisson.com Git - teleforma.git/commitdiff
use relative /media/, mv unix socket
authorGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 28 Jun 2022 09:07:59 +0000 (11:07 +0200)
committerGuillaume Pellerin <guillaume.pellerin@parisson.com>
Tue, 28 Jun 2022 09:07:59 +0000 (11:07 +0200)
app/run/.placeholer [deleted file]
app/settings.py
app/wsgi.ini

diff --git a/app/run/.placeholer b/app/run/.placeholer
deleted file mode 100644 (file)
index e69de29..0000000
index e2b52826db69a7f5074eb6ad84f2d8478038073e..f96a079daa1e10d06da17393e2921e8f3a8c2247 100644 (file)
@@ -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
index 8f56c13de620165e01a01d1e4ff58114750a1da3..7404e9951a1903c550d1ec3294b5b94725e3e5f9 100644 (file)
@@ -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