diff options
author | Mark Longair <mhl@pobox.com> | 2013-10-31 16:50:36 +0000 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2013-11-07 12:46:25 +0000 |
commit | 0c2225e4215037deb063eb50222a8d55835175b4 (patch) | |
tree | 13aa9c8e910993dc0b91becd38783549a9f98e8a | |
parent | aa9998404c976019de6355ec9a88c1884046a2ae (diff) |
nginx: root should be the public directory so that try_files works
-rw-r--r-- | config/nginx.conf.example | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/nginx.conf.example b/config/nginx.conf.example index 158864aa5..9bec78f77 100644 --- a/config/nginx.conf.example +++ b/config/nginx.conf.example @@ -4,7 +4,7 @@ upstream alaveteli { server { listen 80; - root /var/www/alaveteli; + root /var/www/alaveteli/alaveteli/public; location / { proxy_set_header X-Real-IP $remote_addr; |