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-Tag: osrf_rel_3_0_0-alpha~22 X-Git-Url: http://git.equinoxoli.org/?p=opensrf-equinox.git;a=commitdiff_plain;h=47bafe1172027540a8b73f53f36de694f8acb799 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 --- 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