Mich hat heute die Nextcloud extrem geärgert. Es wurden wohl einige Pfade beim reverse proxy geändert und das wurde mal wieder nirgend wo dokumentiert.
Wenn das hier jemand auch benutzt und eine 404 seite oder folgendes Bild erhält, muss er die nginx bzw apache Konfiguration apassen.
Apache:
Code
ProxyPass /browser https://127.0.0.1:9980/browser
ProxyPassReverse /browser https://127.0.0.1:9980/browser
# 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 /cool https://127.0.0.1:9980/cool
ProxyPassReverse /cool https://127.0.0.1:9980/cool
Alles anzeigen
Nginx:
Code
location ^~ /browser {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# main websocket
location ~ ^/cool/(.*)/ws$ {
proxy_pass https://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
# download, presentation and image upload
location ~ ^/(c|l)ool {
proxy_pass https://localhost:9980;
proxy_set_header Host $http_host;
}
# Admin Console websocket
location ^~ /cool/adminws {
proxy_pass https://localhost:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
Alles anzeigen
So funktioniert das ganze auch mit richdocuments 5.0.0 und dem collabora/code 21.11.0.6.1 container