From 47bafe1172027540a8b73f53f36de694f8acb799 Mon Sep 17 00:00:00 2001 From: Ben Shum Date: Tue, 14 Mar 2017 23:00:56 -0400 Subject: [PATCH] LP#1672926: Disable/remove default nginx config in REAMDE steps 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 Signed-off-by: Galen Charlton --- README | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README b/README index 2925a94..3e6d9cc 100644 --- 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 -- 2.11.0