4 242
modifications
Aucun résumé des modifications |
|||
Ligne 76 : | Ligne 76 : | ||
==Exemple de proxy apache== | ==Exemple de proxy apache== | ||
Notez que cette configuration est valide si votre instance Collabora utilise un certificat SSL (autosigné ou non). Reportez vous à https:// | Notez que cette configuration est valide si votre instance Collabora utilise un certificat SSL (autosigné ou non). Reportez vous à https://sdk.collaboraonline.com/docs/installation/Proxy_settings.html pour les autres cas de figure. | ||
<pre> | <pre> | ||
Ligne 89 : | Ligne 89 : | ||
SSLCertificateKeyFile /path/to/private/key | SSLCertificateKeyFile /path/to/private/key | ||
AllowEncodedSlashes NoDecode | |||
SSLProxyEngine 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 | |||
# browser is the client part of Collabora Online | |||
ProxyPass /browser https://192.168.30.30:9980/browser retry=0 | |||
ProxyPassReverse /browser https://192.168.30.30:9980/browser | |||
# WOPI discovery URL | |||
ProxyPass /hosting/discovery https://192.168.30.30:9980/hosting/discovery retry=0 | |||
ProxyPassReverse /hosting/discovery https://192.168.30.30:9980/hosting/discovery | |||
# Capabilities | |||
ProxyPass /hosting/capabilities https://192.168.30.30:9980/hosting/capabilities retry=0 | |||
ProxyPassReverse /hosting/capabilities https://192.168.30.30:9980/hosting/capabilities | |||
# Main websocket | |||
ProxyPassMatch "/cool/(.*)/ws$" wss://192.168.30.30:9980/cool/$1/ws nocanon | |||
# Admin Console websocket | |||
ProxyPass /cool/adminws wss://192.168.30.30:9980/cool/adminws | |||
# Download as, Fullscreen presentation and Image upload operations | |||
ProxyPass /cool https://192.168.30.30:9980/cool | |||
ProxyPassReverse /cool https://192.168.30.30:9980/cool | |||
# Compatibility with integrations that use the /lool/convert-to endpoint | |||
ProxyPass /lool https://192.168.30.30:9980/cool | |||
ProxyPassReverse /lool https://192.168.30.30:9980/cool | |||
</VirtualHost> | </VirtualHost> | ||
</pre> | </pre> |