aboutsummaryrefslogtreecommitdiffstats
path: root/config/nginx-ssl.conf-example
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2014-08-15 15:38:10 +0100
committerGareth Rees <gareth@mysociety.org>2014-08-18 13:36:09 +0100
commit2e24bbc520152bd63e71c5c47404e1b9789b440b (patch)
treead2dd0c2661a9dd8aea5fab5b94d7265c646ddca /config/nginx-ssl.conf-example
parent1057380bcce97b5ff1c829cc2dd6c6fc5d77e9b7 (diff)
Use legacy alaveteli install path for nginx root
For backwards compatability with the install script, use PREFIX/HOST/SITE
Diffstat (limited to 'config/nginx-ssl.conf-example')
-rw-r--r--config/nginx-ssl.conf-example4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nginx-ssl.conf-example b/config/nginx-ssl.conf-example
index 6920e0e96..c623c8e96 100644
--- a/config/nginx-ssl.conf-example
+++ b/config/nginx-ssl.conf-example
@@ -5,7 +5,7 @@ upstream alaveteli {
server {
listen 443;
server_name www.example.com;
- root /var/www/alaveteli/public;
+ root /var/www/alaveteli/alaveteli/public;
server_tokens off;
@@ -25,7 +25,7 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header X-Sendfile-Type X-Accel-Redirect;
- proxy_set_header X-Accel-Mapping /var/www/alaveteli/cache/zips/production/download=/download;
+ proxy_set_header X-Accel-Mapping /var/www/alaveteli/alaveteli/cache/zips/production/download=/download;
proxy_redirect off;
proxy_pass http://alaveteli;
}