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