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
commite596b6ad2b6a50c223efeaca14e8a16e2237285f (patch)
tree7609fc700402e10f7fe27a2c7df751d6c8dc8a71 /install/nginx.conf.template
parent10a3a9955f671926abd39f5ea343d821ed8de26a (diff)
downloadIshtar-e596b6ad2b6a50c223efeaca14e8a16e2237285f.tar.bz2
Ishtar-e596b6ad2b6a50c223efeaca14e8a16e2237285f.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;
}