diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-18 15:24:31 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-21 17:38:20 +0100 |
commit | 6dd3c0e05b3a7ec7e698939362340dd322f2d35b (patch) | |
tree | 8c589114071c68b371ef70ee1adbf0b2ae0e81d1 /docs/installing | |
parent | 95b0def02ef381569dcf4cc1bd78014406e38b64 (diff) |
Add note about nginx config paths
Diffstat (limited to 'docs/installing')
-rw-r--r-- | docs/installing/manual_install.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/installing/manual_install.md b/docs/installing/manual_install.md index edc6093cd..2621e15ea 100644 --- a/docs/installing/manual_install.md +++ b/docs/installing/manual_install.md @@ -732,6 +732,10 @@ Copy the example nginx config cp /var/www/alaveteli/config/nginx.conf.example \ /etc/nginx/sites-available/alaveteli +<div class="attention-box"> + <strong>Note:</strong> For historical reasons, <code>nginx.conf.example</code> has the path to Alaveteli set as <code>/var/www/alaveteli/alaveteli</code> – you will need to manually change this to <code>/var/www/alaveteli</code>, or to the root of your Alaveteli install +</div> + Disable the default site and enable the `alaveteli` server rm /etc/nginx/sites-enabled/default @@ -761,6 +765,10 @@ and enable the server ln -s /etc/nginx/sites-available/alaveteli_https \ /etc/nginx/sites-enabled/alaveteli_https +<div class="attention-box"> + <strong>Note:</strong> For historical reasons, <code>nginx-ssl.conf-example</code> has the path to Alaveteli set as <code>/var/www/alaveteli/alaveteli</code> – you will need to manually change this to <code>/var/www/alaveteli</code>, or to the root of your Alaveteli install +</div> + <!-- Force HTTPS requests from the HTTP VirtualHost cp /var/www/alaveteli/config/httpd-force-ssl.conf-example \ |