From: Guillaume Pellerin Date: Thu, 18 Apr 2024 15:10:58 +0000 (+0200) Subject: add private nginx dir X-Git-Tag: 2.9.0~10 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7d666d0d3119d5e1f86689847d2252e9c67d7dcc;p=teleforma.git add private nginx dir --- diff --git a/app/wsgi.sh b/app/wsgi.sh index 43859828..4a4d605d 100755 --- a/app/wsgi.sh +++ b/app/wsgi.sh @@ -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 diff --git a/etc/nginx.conf b/etc/nginx.conf index d917a3a9..e2f93418 100644 --- a/etc/nginx.conf +++ b/etc/nginx.conf @@ -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/;