summaryrefslogtreecommitdiff
path: root/install/nginx.conf.template
diff options
context:
space:
mode:
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;
}