Jump to content
SpaceInvaderOne

**VIDEO GUIDE How to Setup Collabora with Nextcloud for our own online document suite **

2 posts in this topic Last Reply

Recommended Posts

Hey guys here is a tutorial on how to install and setup a Collabora Document Server and configure it to work with Nextcloud as a Docker container on Unraid. It shows how to set it up running through a reverse nginx proxy. Collabora is a LibreOffice Online document suite. this gives you control over your own documents and integrates with nextcloud. So no longer any need for google drive and google docs!

 

This video guide makes use of   @chvb  great container.

 

 

Share this post


Link to post

Thanks for this, but I couldn't get this to work by just changing the two lines you suggested.  Shouldn't the other lines referencing 'Collabora' also be changed?


This is what I currently have:

 


resolver 127.0.0.11 valid=30s;
upstream collabora {
    server 192.168.50.74:9980;
}

server {
    listen       443 ssl;
    server_name office.*;
    include /config/nginx/ssl.conf;
	
   # static files
    location ^~ /loleaflet {
        proxy_pass https://192.168.50.74:9980;
        proxy_set_header Host $host;
    }

    # WOPI discovery URL
    location ^~ /hosting/discovery {
        proxy_pass https://192.168.50.74:9980;
        proxy_set_header Host $host;
    }
	
    # Capabilities
    location ^~ /hosting/capabilities {
        proxy_pass https://192.168.50.74:9980;
        proxy_set_header Host $http_host;
    }

	# main websocket
	    location ~ ^/lool/(.*)/ws$ {
	        proxy_pass https://192.168.50.74:9980;
	        proxy_set_header Upgrade $http_upgrade;
	        proxy_set_header Connection "Upgrade";
	        proxy_set_header Host $http_host;
	        proxy_read_timeout 36000s;
	    }
		
    # Admin Console websocket
    location ^~ /lool/adminws {
	proxy_buffering off;
        proxy_pass https://192.168.50.74:9980;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_set_header Host $host;
        proxy_read_timeout 36000s;
    }

    # download, presentation and image upload
       location ~ ^/lool {
           proxy_pass https://192.168.50.74:9980;
           proxy_set_header Host $http_host;
       }
}

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now