Hallo liebe Ubuntuusers,
ich habe auf meinem gerade neu aufgesetzten Server gerade ein Problem mit den Apache2 Proxy-Settings. Und zwar möchte ich wie zuvor auf meinem alten Server auch Collabora online in der Nextcloud nutzen. Hierfür habe ich Collabora aufgesetzt und wollte nun, wie in der Nextcloud Anleitung beschrieben, einen Apache Proxy aufsetzen, so dass, wenn ich Domain office.domain.com ansteuere er mich mit den entsprechenden Diensten auf dem Port 9980 verbindet. Doch leider wird statt der Dienste der Inhalt der domain.com geladen (bzw. da unter domain.com ein Blog liegt, meint dieser dann, dass die entsprechende Seite nicht existieren würde). Ich kann die Dienste aber ansteueren, wenn ich z.B. office.domain.com:9980/hosting/discovery ansteuere.
Von daher mein Fazit die Proxy-Einstellungen funktionieren nicht, wie sie sollten.
Hier sind die entsprechenden Vhosts:
office.domain.com.conf:
<VirtualHost *:80> ServerName office.domain.com Redirect / https://office.domain.com </VirtualHost>
office.domain.com-ssl.conf:
<IfModule mod_ssl.c> <VirtualHost *:443> ServerName office.domain.com # SSL configuration, you may want to take the easy route instead and use Lets Encrypt! SSLEngine on SSLCertificateFile /etc/letsencrypt/live/www.domain.com/cert.pem SSLCertificateChainFile /etc/letsencrypt/live/www.domain.com/chain.pem SSLCertificateKeyFile /etc/letsencrypt/live/www.domain.com/privkey.pem Include /etc/letsencrypt/options-ssl-apache.conf SSLProtocol all -SSLv2 -SSLv3 SSLCipherSuite ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-EC$ SSLHonorCipherOrder on # 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 LibreOffice Online ProxyPass /loleaflet https://127.0.0.1:9980/loleaflet retry=0 ProxyPassReverse /loleaflet https://127.0.0.1:9980/loleaflet # WOPI discovery URL ProxyPass /hosting/discovery https://127.0.0.1:9980/hosting/discovery retry=0 ProxyPassReverse /hosting/discovery https://127.0.0.1:9980/hosting/discovery # Main websocket ProxyPassMatch "/lool/(.*)/ws$" wss://127.0.0.1:9980/lool/$1/ws nocanon # Admin Console websocket ProxyPass /lool/adminws wss://127.0.0.1:9980/lool/adminws # Download as, Fullscreen presentation and Image upload operations ProxyPass /lool https://127.0.0.1:9980/lool ProxyPassReverse /lool https://127.0.0.1:9980/lool </VirtualHost> </IfModule>
Hat jemand von euch eine Idee, woran es liegen könnte?