Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix RichDocuments #2416

Closed
Alerinos opened this issue Aug 29, 2022 · 3 comments
Closed

fix RichDocuments #2416

Alerinos opened this issue Aug 29, 2022 · 3 comments

Comments

@Alerinos
Copy link

#1282

All day I was looking for a solution to the problem, I tried to install Collabora Online on my server. Everything went well, but unfortunately I could not start the interface and connect to the nextcloud. After many unsuccessful attempts, I found that it will use the built-in CODE. Suddenly it worked magically and no problem, I think you need to manually install the service on the server and then install the plugin. The guide from which I installed:
https://www.linuxbabe.com/ubuntu/integrate-collabora-onlinenextcloud-without-docker

The only thing I haven't done here is generate the certificate, I'm using CF so I don't need it.
Take a look if my theory actually works.

@Alerinos
Copy link
Author

Anyway, is this config correct?
Unfortunately, it returned me 504.
I also tried https://localhost::9980
It didn't work either ...

server {
	listen 443      ssl;
	listen [::]:443 ssl;
	server_name  collaboraonline.*.com;

	error_log /var/log/nginx/collabora.error;

	ssl_certificate     /etc/ssl/cloud.pem;
	ssl_certificate_key /etc/ssl/cloud.key;


 # static files
 location ^~ /browser {
   proxy_pass http://localhost:9980;
   proxy_set_header Host $http_host;
 }


 # WOPI discovery URL
 location ^~ /hosting/discovery {
   proxy_pass http://localhost:9980;
   proxy_set_header Host $http_host;
 }


 # Capabilities
 location ^~ /hosting/capabilities {
   proxy_pass http://localhost:9980;
   proxy_set_header Host $http_host;
 }


 # main websocket
 location ~ ^/cool/(.*)/ws$ {
   proxy_pass http://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 http://localhost:9980;
   proxy_set_header Host $http_host;
 }


 # Admin Console websocket
 location ^~ /cool/adminws {
   proxy_pass http://localhost:9980;
   proxy_set_header Upgrade $http_upgrade;
   proxy_set_header Connection "Upgrade";
   proxy_set_header Host $http_host;
   proxy_read_timeout 36000s;
 }
}

image

@Raudius
Copy link
Contributor

Raudius commented Oct 3, 2022

Hi thanks for the report.

Github is not the ideal place to track configuration issues. I am in the process of cleaning up the repository to keep only the relevant issues (bugs, security issues and feature requests).

Here you can find some resources which should allow you to fix your issue:

@Raudius Raudius closed this as completed Oct 3, 2022
@lfom
Copy link

lfom commented Dec 3, 2022

@Raudius Actually it is not a configuration problem, please see #1486.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants