diff --git a/conf/movim.init b/conf/movim.init index f84e95a..9ca3684 100755 --- a/conf/movim.init +++ b/conf/movim.init @@ -10,7 +10,7 @@ ### END INIT INFO dir="YHDIR" -cmd="php daemon.php http://localhost 8080" +cmd="php daemon.php http://localhost 8081" user="www-data" name=`basename $0` diff --git a/conf/nginx.conf b/conf/nginx.conf index 2c39ac7..c3d92be 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -18,8 +18,8 @@ location PATHTOCHANGE { fastcgi_param SCRIPT_FILENAME $request_filename; } -location PATHTOCHANGE/ws/ { - proxy_pass http://localhost:8080/; +location ~ ^PATHTOCHANGE/ws/ { + proxy_pass http://localhost:8081; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade";