diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:51 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-07-21 15:27:51 +0100 |
commit | 58784dff7e59d45e35dab6ed5d93a7d80ce6ba63 (patch) | |
tree | c4b70d57f15646cb5fa81aea14d4a4bd239b5bae | |
parent | fa57f7fe9f66cb6fd648e0e976ab77b506a40819 (diff) |
Use production paths for nginx config
-rw-r--r-- | config/nginx.conf.example | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/nginx.conf.example b/config/nginx.conf.example index b2f9e98b8..07cbe7c07 100644 --- a/config/nginx.conf.example +++ b/config/nginx.conf.example @@ -24,13 +24,13 @@ server { location /download { internal; - alias /var/www/alaveteli/alaveteli/cache/zips/development/download; + alias /var/www/alaveteli/cache/zips/production/download; } location @ruby { proxy_pass http://alaveteli; proxy_set_header Host $http_host; proxy_set_header X-Sendfile-Type X-Accel-Redirect; - proxy_set_header X-Accel-Mapping /var/www/alaveteli/alaveteli/cache/zips/development/download=/download; + proxy_set_header X-Accel-Mapping /var/www/alaveteli/cache/zips/production/download=/download; } } |