changed apache2 config
This commit is contained in:
@@ -164,33 +164,44 @@
|
|||||||
# Encoded slashes need to be allowed
|
# Encoded slashes need to be allowed
|
||||||
AllowEncodedSlashes NoDecode
|
AllowEncodedSlashes NoDecode
|
||||||
|
|
||||||
# keep the host
|
|
||||||
ProxyPreserveHost On
|
ProxyPreserveHost On
|
||||||
|
|
||||||
|
|
||||||
|
# cert is issued for collaboraonline.example.com and we proxy to localhost
|
||||||
|
SSLProxyVerify None
|
||||||
|
SSLProxyCheckPeerCN Off
|
||||||
|
SSLProxyCheckPeerName Off
|
||||||
|
|
||||||
|
|
||||||
# static html, js, images, etc. served from coolwsd
|
# static html, js, images, etc. served from coolwsd
|
||||||
# loleaflet/browser is the client part of Collabora Online
|
# browser is the client part of Collabora Online
|
||||||
ProxyPass /loleaflet http://127.0.0.1:9980/loleaflet retry=0
|
ProxyPass /browser https://127.0.0.1:9980/browser retry=0
|
||||||
ProxyPassReverse /loleaflet http://127.0.0.1:9980/loleaflet
|
ProxyPassReverse /browser https://127.0.0.1:9980/browser
|
||||||
ProxyPass /browser http://127.0.0.1:9980/browser retry=0
|
|
||||||
ProxyPassReverse /browser http://127.0.0.1:9980/browser
|
|
||||||
|
|
||||||
# WOPI discovery URL
|
# WOPI discovery URL
|
||||||
ProxyPass /hosting/discovery http://127.0.0.1:9980/hosting/discovery retry=0
|
ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0
|
||||||
ProxyPassReverse /hosting/discovery http://127.0.0.1:9980/hosting/discovery
|
ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery
|
||||||
|
|
||||||
|
|
||||||
# Capabilities
|
# Capabilities
|
||||||
ProxyPass /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities retry=0
|
ProxyPass /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities retry=0
|
||||||
ProxyPassReverse /hosting/capabilities http://127.0.0.1:9980/hosting/capabilities
|
ProxyPassReverse /hosting/capabilities https://127.0.0.1:9980/hosting/capabilities
|
||||||
|
|
||||||
|
# Main websocket (legacy URL, with the document path encoded into it)
|
||||||
|
ProxyPassMatch "/cool/(.*)/ws$" wss://127.0.0.1:9980/cool/$1/ws nocanon
|
||||||
|
|
||||||
|
# Main websocket (compact URL, used since 26.04, with the document passed via the WOPISrc query parameter)
|
||||||
|
ProxyPass /cool/ws wss://127.0.0.1:9980/cool/ws nocanon
|
||||||
|
|
||||||
# Main websocket
|
|
||||||
ProxyPassMatch "/cool/(.*)/ws$" ws://127.0.0.1:9980/cool/$1/ws nocanon
|
|
||||||
|
|
||||||
# Admin Console websocket
|
# Admin Console websocket
|
||||||
ProxyPass /cool/adminws ws://127.0.0.1:9980/cool/adminws
|
ProxyPass /cool/adminws wss://127.0.0.1:9980/cool/adminws
|
||||||
|
|
||||||
# Download as, Fullscreen presentation and Image upload operations
|
|
||||||
ProxyPass /cool http://127.0.0.1:9980/cool
|
# Download as, presentation (legacy svg) and image upload operations
|
||||||
ProxyPassReverse /cool http://127.0.0.1:9980/cool
|
ProxyPass /cool https://127.0.0.1:9980/cool
|
||||||
|
ProxyPassReverse /cool https://127.0.0.1:9980/cool
|
||||||
|
|
||||||
SSLEngine on
|
SSLEngine on
|
||||||
SSLCertificateFile {{ cc_ssl_cert }}
|
SSLCertificateFile {{ cc_ssl_cert }}
|
||||||
|
|||||||
Reference in New Issue
Block a user