LP#1672926: Disable/remove default nginx config in REAMDE steps
authorBen Shum <ben@evergreener.net>
Wed, 15 Mar 2017 03:00:56 +0000 (23:00 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 21 Mar 2017 13:36:27 +0000 (09:36 -0400)
Since we will be adding our own custom nginx config, disable/remove the
default one that is installed so there's no confusion later on.

Signed-off-by: Ben Shum <ben@evergreener.net>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

README

diff --git a/README b/README
index 2925a94..3e6d9cc 100644 (file)
--- a/README
+++ b/README
@@ -544,13 +544,14 @@ for installing WebSockets support.
 apt-get install nginx
 ---------------------------------------------------------------------------
 +
-3. Copy the example NGINX configuration file into place.
+3. Copy the example NGINX configuration file into place and remove default.
 +
 [source, bash]
 ---------------------------------------------------------------------------
 cd /path/to/opensrf-OSRFVERSION
 cp examples/nginx/osrf-ws-http-proxy /etc/nginx/sites-available/
 ln -s /etc/nginx/sites-available/osrf-ws-http-proxy /etc/nginx/sites-enabled/osrf-ws-http-proxy
+rm /etc/nginx/sites-enabled/default
 ---------------------------------------------------------------------------
 +
 4. Edit `/etc/nginx/sites-available/osrf-ws-http-proxy` to set the location