diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-04-18 17:25:40 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-04-18 17:28:31 +0200 |
commit | dfe3efa056f0d45ed49fedf154689c755d9b0465 (patch) | |
tree | d1bf16bb9ad133354a23301738993f765653f83f /install/nginx.conf.template | |
parent | f57f79d40b9a6c8cc1333165ee11a341c78be181 (diff) | |
download | Ishtar-dfe3efa056f0d45ed49fedf154689c755d9b0465.tar.bz2 Ishtar-dfe3efa056f0d45ed49fedf154689c755d9b0465.zip |
Update installation script
Conflicts:
install/install.sh
Diffstat (limited to 'install/nginx.conf.template')
-rw-r--r-- | install/nginx.conf.template | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/nginx.conf.template b/install/nginx.conf.template index 0a68be712..c41018786 100644 --- a/install/nginx.conf.template +++ b/install/nginx.conf.template @@ -2,17 +2,17 @@ server { listen #NGINX_PORT#; server_name #URL#; root /srv/#DB_NAME#/ishtar/; - access_log /var/log/django/#SHORT_NAME#-access.log; - error_log /var/log/django/#SHORT_NAME#-error.log; + 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/#SHORT_NAME#/static/; # STATIC_ROOT + alias /srv/#DB_NAME#/ishtar/#APP_NAME#/static/; # STATIC_ROOT expires 30d; } location /media/ { # MEDIA_URL - alias /srv/#DB_NAME#/ishtar/#SHORT_NAME#/media/; # MEDIA_ROOT + alias /srv/#DB_NAME#/ishtar/#APP_NAME#/media/; # MEDIA_ROOT expires 30d; } |