]> git.parisson.com Git - teleforma.git/commitdiff
add private nginx dir
authorGuillaume Pellerin <guillaume.pellerin@free.fr>
Thu, 18 Apr 2024 15:10:58 +0000 (17:10 +0200)
committerGuillaume Pellerin <guillaume.pellerin@free.fr>
Thu, 18 Apr 2024 15:10:58 +0000 (17:10 +0200)
app/wsgi.sh
etc/nginx.conf

index 43859828ee8bd9c3311a702747adca4fdf39e796..4a4d605d4e66e90ff53c4c6f66c7806d4df0dc73 100755 (executable)
@@ -22,7 +22,7 @@ debug_log='/var/log/app/debug.log'
 # /srv/bin/build/local/setup_lib.sh
 
 # waiting for other services
-sh $app/wait.sh
+sh $app/wait.sh
 
 # django setup
 #python $manage wait-for-db
index d917a3a9e5422e34cb01504ba00a1dff816562cd..e2f934183e75f4fa71bea300cd8929a9dcb0024c 100644 (file)
@@ -70,6 +70,10 @@ server {
     internal;
   }
 
+location /media/private/ {
+    alias /srv/crfpa-docker/var/media/private/;
+    internal;
+  }
 
   location /static/ {
     alias /srv/crfpa-docker/var/static/;