'loolwsd' service was (changed and) renamed to 'coolwsd'. so we add example vhos configuration (Proxy settings) for Apache2 and also Ngins webserver.
This commit is contained in:
@ -0,0 +1,58 @@
|
||||
<VirtualHost <IPV4-ADDRESS>:443 [IPV6-ADDRESS]:443>
|
||||
|
||||
ServerName <FULL-QUALIFIED-SITE-NAME>
|
||||
|
||||
Options -Indexes
|
||||
|
||||
# Encoded slashes need to be allowed
|
||||
AllowEncodedSlashes NoDecode
|
||||
|
||||
# Container uses a unique non-signed certificate
|
||||
SSLProxyEngine On
|
||||
SSLProxyVerify None
|
||||
SSLProxyCheckPeerCN Off
|
||||
SSLProxyCheckPeerName Off
|
||||
|
||||
# keep the host
|
||||
ProxyPreserveHost On
|
||||
|
||||
# static html, js, images, etc. served from loolwsd
|
||||
# loleaflet is the client part of Collabora Online
|
||||
ProxyPass /loleaflet https://localhost:9980/loleaflet retry=0
|
||||
ProxyPassReverse /loleaflet https://localhost:9980/loleaflet
|
||||
|
||||
# WOPI discovery URL
|
||||
ProxyPass /hosting/discovery https://localhost:9980/hosting/discovery retry=0
|
||||
ProxyPassReverse /hosting/discovery https://localhost:9980/hosting/discovery
|
||||
|
||||
# Capabilities
|
||||
ProxyPass /hosting/capabilities https://localhost:9980/hosting/capabilities retry=0
|
||||
ProxyPassReverse /hosting/capabilities https://localhost:9980/hosting/capabilities
|
||||
|
||||
# Main websocket
|
||||
ProxyPassMatch "/lool/(.*)/ws$" wss://localhost:9980/lool/$1/ws nocanon
|
||||
|
||||
# Admin Console websocket
|
||||
ProxyPass /lool/adminws wss://localhost:9980/lool/adminws
|
||||
|
||||
# Download as, Fullscreen presentation and Image upload operations
|
||||
ProxyPass /lool https://localhost:9980/lool
|
||||
ProxyPassReverse /lool https://localhost:9980/lool
|
||||
|
||||
|
||||
# Endpoint with information about availability of various features
|
||||
ProxyPass /hosting/capabilities https://localhost:9980/hosting/capabilities retry=0
|
||||
ProxyPassReverse /hosting/capabilities https://localhost:9980/hosting/capabilities
|
||||
|
||||
|
||||
SSLEngine on
|
||||
|
||||
SSLCertificateFile /var/lib/dehydrated/certs/<FULL-QUALIFIED-SITE-NAME>/fullchain.pem
|
||||
SSLCertificateKeyFile /var/lib/dehydrated/certs/<FULL-QUALIFIED-SITE-NAME>/privkey.pem
|
||||
|
||||
CustomLog /var/log/apache2/ip_requests.log base_requests
|
||||
|
||||
CustomLog /var/log/apache2/<FULL-QUALIFIED-SITE-NAME>.log combined
|
||||
ErrorLog /var/log/apache2/<FULL-QUALIFIED-SITE-NAME>-error.log
|
||||
|
||||
</VirtualHost>
|
Reference in New Issue
Block a user