1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/movim_ynh.git synced 2024-09-03 19:46:19 +02:00
This commit is contained in:
src386 2015-08-03 15:56:52 +02:00
parent d6ac2bb3a5
commit 7c7663b5c7
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
### END INIT INFO ### END INIT INFO
dir="YHDIR" dir="YHDIR"
cmd="php daemon.php http://localhost 8080" cmd="php daemon.php http://localhost 8081"
user="www-data" user="www-data"
name=`basename $0` name=`basename $0`

View file

@ -18,8 +18,8 @@ location PATHTOCHANGE {
fastcgi_param SCRIPT_FILENAME $request_filename; fastcgi_param SCRIPT_FILENAME $request_filename;
} }
location PATHTOCHANGE/ws/ { location ~ ^PATHTOCHANGE/ws/ {
proxy_pass http://localhost:8080/; proxy_pass http://localhost:8081;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade"; proxy_set_header Connection "Upgrade";