a41864e8a5
Change-Id: Ia4c2e4a54549af89071752c631a9ae5fed678c63 Reviewed-on: https://gerrit.libreoffice.org/64286 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
35 lines
1.4 KiB
Text
35 lines
1.4 KiB
Text
# Apache2 reverse proxy configuration for Collabora Online / LibreOffice Online
|
|
# Internet <-- SSL --> Reverse Proxy <-- No SSL --> loolwsd
|
|
# Make sure that you enable the following Apache2 modules: proxy, proxy_wstunnel, and proxy_http.
|
|
# Create a virtual host for Collabora Online / LibreOffice Online and include this configuration file.
|
|
|
|
Options -Indexes
|
|
|
|
# Encoded slashes need to be allowed
|
|
AllowEncodedSlashes NoDecode
|
|
|
|
# keep the host
|
|
ProxyPreserveHost On
|
|
|
|
# static html, js, images, etc. served from loolwsd
|
|
# loleaflet is the client part of LibreOffice Online
|
|
ProxyPass /loleaflet http://127.0.0.1:9980/loleaflet retry=0
|
|
ProxyPassReverse /loleaflet http://127.0.0.1:9980/loleaflet
|
|
|
|
# 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 "/lool/(.*)/ws$" ws://127.0.0.1:9980/lool/$1/ws nocanon
|
|
|
|
# Admin Console websocket
|
|
ProxyPass /lool/adminws ws://127.0.0.1:9980/lool/adminws
|
|
|
|
# Download as, Fullscreen presentation and Image upload operations
|
|
ProxyPass /lool http://127.0.0.1:9980/lool
|
|
ProxyPassReverse /lool http://127.0.0.1:9980/lool
|