install-eg.sh: Correct path for nginx config
authorJeff Davis <jdavis@sitka.bclibraries.ca>
Sat, 15 Apr 2017 11:11:11 +0000 (04:11 -0700)
committerJeff Davis <jdavis@sitka.bclibraries.ca>
Sat, 15 Apr 2017 11:11:11 +0000 (04:11 -0700)
deployment/install-eg.sh

index b5d01f8..5f62d7f 100755 (executable)
@@ -124,7 +124,7 @@ fi
 if [[ -n "$WEBCLIENT" ]] ; then
     # use nginx proxy for websockets traffic
     apt-get install -y nginx
-    cp -b ${SITKACONF}/files/etc/nginx/osrf-ws-http-proxy/${HOSTNAME} /etc/nginx/osrf-ws-http-proxy
+    cp -b ${SITKACONF}/files/etc/nginx/sites-available/osrf-ws-http-proxy/${HOSTNAME} /etc/nginx/sites-available/osrf-ws-http-proxy
     ln -s /etc/nginx/sites-available/osrf-ws-http-proxy /etc/nginx/sites-enabled/osrf-ws-http-proxy
     rm /etc/nginx/sites-enabled/default
     cp -b ${SITKACONF}/files/etc/apache2/ports.conf/${HOSTNAME} /etc/apache2/ports.conf