[prev in list] [next in list] [prev in thread] [next in thread]
List: libreoffice-commits
Subject: [Libreoffice-commits] online.git: Branch 'libreoffice-6-2' - etc/apache2 etc/nginx
From: logerrit () kemper ! freedesktop ! org (Libreoffice Gerrit user)
Date: 2018-11-30 12:47:19
Message-ID: 20181130124719.2B497761D7 () kemper ! freedesktop ! org
[Download RAW message or body]
etc/apache2/loolwsd.conf | 4 ++++
etc/nginx/loolwsd.conf | 6 ++++++
2 files changed, 10 insertions(+)
New commits:
commit fec9d14a2f86bdcaf781081d70267d68cd6341b1
Author: Andras Timar <andras.timar@collabora.com>
AuthorDate: Thu Nov 29 21:57:40 2018 +0100
Commit: Andras Timar <andras.timar@collabora.com>
CommitDate: Fri Nov 30 13:47:12 2018 +0100
add the /hosting/capabilities endpoint to the example reverse proxy configs
Change-Id: Ia4c2e4a54549af89071752c631a9ae5fed678c63
Reviewed-on: https://gerrit.libreoffice.org/64288
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
diff --git a/etc/apache2/loolwsd.conf b/etc/apache2/loolwsd.conf
index 10b66b47f..7ccfe0051 100644
--- a/etc/apache2/loolwsd.conf
+++ b/etc/apache2/loolwsd.conf
@@ -20,6 +20,10 @@
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 "/lool/(.*)/ws$" ws://127.0.0.1:9980/lool/$1/ws nocanon
diff --git a/etc/nginx/loolwsd.conf b/etc/nginx/loolwsd.conf
index f55f8829b..e176760b9 100644
--- a/etc/nginx/loolwsd.conf
+++ b/etc/nginx/loolwsd.conf
@@ -10,6 +10,12 @@
proxy_set_header Host $http_host;
}
+ # Capabilities
+ location ^~ /hosting/capabilities {
+ proxy_pass http://localhost:9980;
+ proxy_set_header Host $http_host;
+ }
+
# main websocket
location ~ ^/lool/(.*)/ws$ {
proxy_pass http://localhost:9980;
_______________________________________________
Libreoffice-commits mailing list
Libreoffice-commits@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic