Hi there,
I have a problem with my collabora setup, after starting fresh with my Pi because of Software-Failures.
I´ve had it on the old system natively installed and so on the new one, my nginx-config is also copied from the old system, so everything should be working, but it won´t :-/
so I installed it after setting prerequisities and finaly installed it with
apt install coolwsd code-brand
systemctl status coolwsd also tells:
“Nov 06 20:14:28 DietPi coolwsd[464]: Ready to accept connections on port 9980.”
The following is configured:
sudo coolconfig set storage.wopi.host office.mydomain.de
sudo coolconfig set ssl.enable true
sudo coolconfig set ssl.termination true
But everytime I try to connect it with my Nextcloud, I get 502 Bad Gateway, also when trying to browse to https://office.mydomain.de/hosting/discovery
Here the collabora.conf from Nginx:
server {
listen 443 ssl;
server_name office.mydomain.de;
ssl_certificate /etc/letsencrypt/live/office.mydomain.de/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/office.mydomain.de/privkey.pem; # managed by Certbot
# static files
location ^~ /browser {
proxy_pass https://127.0.0.1:9980;
proxy_set_header Host $http_host;
}
# WOPI discovery URL
location ^~ /hosting/discovery {
proxy_pass https://127.0.0.1:9980;
proxy_set_header Host $http_host;
}
# Capabilities
location ^~ /hosting/capabilities {
proxy_pass https://127.0.0.1:9980;
proxy_set_header Host $http_host;
}
# main websocket
location ~ ^/cool/(.*)/ws$ {
proxy_pass https://127.0.0.1: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://127.0.0.1:9980;
proxy_set_header Host $http_host;
}
# Admin Console websocket
location ^~ /cool/adminws {
proxy_pass https://127.0.0.1:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $http_host;
proxy_read_timeout 36000s;
}
}