From: Ben Shum Date: Wed, 15 Mar 2017 03:00:56 +0000 (-0400) Subject: LP#1672926: Disable/remove default nginx config in REAMDE steps X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=29c4ce58a11431a39d14361a09bbd9a56ab73a51;p=working%2FOpenSRF.git 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 --- 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