diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-04-03 17:33:28 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-04-03 17:33:28 +0200 |
| commit | 581e68620efa152457117eeff1034516695b2553 (patch) | |
| tree | 7fbc365423d77ebf0c79a10d2fa2755c8365c38a /install/nginx.conf.template | |
| parent | 95c2cf33370ac73cfab6963d54d2a5bc8728d7a8 (diff) | |
| parent | bf742d118a8c67114a170fd142e670c09f34920f (diff) | |
| download | Ishtar-581e68620efa152457117eeff1034516695b2553.tar.bz2 Ishtar-581e68620efa152457117eeff1034516695b2553.zip | |
Merge branch 'v0.9-ok' of https://gitlab.com/cyrilbrulebois/ishtar into v0.9
Diffstat (limited to 'install/nginx.conf.template')
| -rw-r--r-- | install/nginx.conf.template | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/install/nginx.conf.template b/install/nginx.conf.template index c41018786..8df09e859 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_PREFIX#/#DB_NAME#/ishtar/; 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_PREFIX#/#DB_NAME#/ishtar/#APP_NAME#/static/; # STATIC_ROOT expires 30d; } location /media/ { # MEDIA_URL - alias /srv/#DB_NAME#/ishtar/#APP_NAME#/media/; # MEDIA_ROOT + alias #INSTALL_PREFIX#/#DB_NAME#/ishtar/#APP_NAME#/media/; # MEDIA_ROOT expires 30d; } |
