summaryrefslogtreecommitdiff
path: root/install/nginx.conf.template
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-01 21:05:11 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-01 21:05:11 +0200
commit183591d0e09272c0eadb2fc928370ccd965bfd91 (patch)
tree7609fc700402e10f7fe27a2c7df751d6c8dc8a71 /install/nginx.conf.template
parente0cc2800330d92ad577384ea72659427918f589d (diff)
downloadIshtar-183591d0e09272c0eadb2fc928370ccd965bfd91.tar.bz2
Ishtar-183591d0e09272c0eadb2fc928370ccd965bfd91.zip
Update installation scripts
Diffstat (limited to 'install/nginx.conf.template')
-rw-r--r--install/nginx.conf.template6
1 files changed, 3 insertions, 3 deletions
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;
}