From 2eeb88a081f7452ee64aabf9a9e2f38ac9114421 Mon Sep 17 00:00:00 2001 From: Alexey Golubev Date: Wed, 13 Sep 2017 11:48:02 +0300 Subject: [PATCH] Fixed websocket connection error --- apps/onlyoffice.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/onlyoffice.sh b/apps/onlyoffice.sh index a85eb0d54a..cc1c86ab8e 100644 --- a/apps/onlyoffice.sh +++ b/apps/onlyoffice.sh @@ -181,7 +181,7 @@ fi # Install Onlyoffice docker docker pull onlyoffice/documentserver:latest -docker run -i -t -d -p 127.0.0.3:9090:80 -p 127.0.0.3:9091:443 --restart always onlyoffice/documentserver +docker run -i -t -d -p 127.0.0.3:9090:80 --restart always onlyoffice/documentserver # Install apache2 install_if_not apache2 @@ -227,7 +227,7 @@ then # basic proxy settings ProxyRequests off - ProxyPassMatch (.*)(\/websocket)$ "ws://127.0.0.3:9091/$1$2" + ProxyPassMatch (.*)(\/websocket)$ "ws://127.0.0.3:9090/$1$2" ProxyPass / "http://127.0.0.3:9090/" ProxyPassReverse / "http://127.0.0.3:9090/"