From f3ed979b6912ab9cb67a20b506efd342a1c2314f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 11 Dec 2024 23:47:38 +0300 Subject: [PATCH] working on colabora standalone server cfg... Signed-off-by: Alex A. Naanou --- nextcloud/colabora.apache | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 nextcloud/colabora.apache diff --git a/nextcloud/colabora.apache b/nextcloud/colabora.apache new file mode 100644 index 0000000..30b0f8c --- /dev/null +++ b/nextcloud/colabora.apache @@ -0,0 +1,34 @@ + + ######################################## + # Reverse proxy for Collabora Online # + ######################################## + + AllowEncodedSlashes NoDecode + ProxyPreserveHost On + + # static html, js, images, etc. served from coolwsd + # browser is the client part of Collabora Online + ProxyPass /browser http://127.0.0.1:9980/browser retry=0 + ProxyPassReverse /browser http://127.0.0.1:9980/browser + + # WOPI discovery URL + ProxyPass /hosting/discovery http://127.0.0.1:9980/hosting/discovery retry=0 + ProxyPassReverse /hosting/discovery http://127.0.0.1:9980/hosting/discovery + + # Capabilities + ProxyPass /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities retry=0 + ProxyPassReverse /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities + + # Main websocket + ProxyPassMatch "/cool/(.*)/ws$" ws://127.0.0.1:9980/cool/$1/ws nocanon + + # Admin Console websocket + ProxyPass /cool/adminws ws://127.0.0.1:9980/cool/adminws + + # Download as, Fullscreen presentation and Image upload operations + ProxyPass /cool http://127.0.0.1:9980/cool + ProxyPassReverse /cool http://127.0.0.1:9980/cool + # Compatibility with integrations that use the /lool/convert-to endpoint + ProxyPass /lool http://127.0.0.1:9980/cool + ProxyPassReverse /lool http://127.0.0.1:9980/cool +