From 183591d0e09272c0eadb2fc928370ccd965bfd91 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 1 May 2017 21:05:11 +0200 Subject: Update installation scripts --- install/nginx.conf.template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'install/nginx.conf.template') diff --git a/install/nginx.conf.template b/install/nginx.conf.template index dd236d113..3450671b9 100644 --- a/install/nginx.conf.template +++ b/install/nginx.conf.template @@ -1,18 +1,18 @@ server { listen #NGINX_PORT#; server_name #URL#; - root /srv/#DB_NAME#/ishtar/; + root #INSTALL_PATH#; access_log /var/log/django/#APP_NAME#-access.log; error_log /var/log/django/#APP_NAME#-error.log; client_max_body_size 20M; location /static-#DATE#/ { # STATIC_URL - alias /srv/#DB_NAME#/ishtar/#APP_NAME#/static/; # STATIC_ROOT + alias #INSTALL_PATH#/#APP_NAME#/static/; # STATIC_ROOT expires 30d; } location /media/ { # MEDIA_URL - alias /srv/#DB_NAME#/ishtar/#APP_NAME#/media/; # MEDIA_ROOT + alias #INSTALL_PATH#/#APP_NAME#/media/; # MEDIA_ROOT expires 30d; } -- cgit v1.2.3