diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-08-06 17:22:25 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-08-18 13:36:09 +0100 |
commit | f6c1acbd3e770dbb0dbea791b5b6ffdfdee391b1 (patch) | |
tree | b20f2d22cf71cefb13e6cfcd3ee542fd31f93224 | |
parent | 2f0698a78b300e3835fbc0a80621e89095d99abb (diff) |
Make setting the server_name a manual step
Interferes with the install script and the server will work without it providing it is the only server available
-rw-r--r-- | config/nginx.conf.example | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/config/nginx.conf.example b/config/nginx.conf.example index a09f27643..bb4707683 100644 --- a/config/nginx.conf.example +++ b/config/nginx.conf.example @@ -12,7 +12,9 @@ upstream alaveteli { server { listen 80 default; - server_name www.example.com; + # Set the server name to your domain name if you have multiple nginx servers + # running on your machine + # server_name www.example.com; root /var/www/alaveteli/public; server_tokens off; |