mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
.
This commit is contained in:
parent
d6ac2bb3a5
commit
7c7663b5c7
2 changed files with 3 additions and 3 deletions
|
@ -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`
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue