From 560629e5bbe825e5b37a5d725d09d241a43ef58e Mon Sep 17 00:00:00 2001 From: william mantly Date: Sat, 1 Oct 2016 16:51:56 -0400 Subject: [PATCH] node --- create.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create.sh b/create.sh index f7422cb..6778fbc 100644 --- a/create.sh +++ b/create.sh @@ -65,6 +65,8 @@ echo " # socket.io conf" >> /etc/apache2/sites-enabled/$name.conf echo " " >> /etc/apache2/sites-enabled/$name.conf echo " ProxyPass http://localhost:$nodePort/socket.io" >> /etc/apache2/sites-enabled/$name.conf echo " ProxyPassReverse http://localhost:$nodePort/socket.io" >> /etc/apache2/sites-enabled/$name.conf +echo " ProxyPass ws://localhost:$nodePort/socket.io" >> /etc/apache2/sites-enabled/$name.conf +echo " ProxyPass wss://localhost:$nodePort/socket.io" >> /etc/apache2/sites-enabled/$name.conf echo " " >> /etc/apache2/sites-enabled/$name.conf # echo " RewriteEngine on" >> /etc/apache2/sites-enabled/$name.conf