cammelspit Posted October 5, 2018 Share Posted October 5, 2018 Instructions would be nice, I have been meaning to do this myself but just haven't gotten around to it and having a proper guide before I start fiddling would be extra great. Quote Link to comment
adoucette Posted October 6, 2018 Share Posted October 6, 2018 5 hours ago, pervin_1 said: Sorry was away for a while, I see that you replied to my comment back in Sep. If you are interested, I am willing to write a tutorial with instructions and commands get it to work. PM me please and I will post the instructions here, it's kinda long That could be really helpful. I thing that the Nextcloud docker for unRAID has been exceptionally popular in the forums here, and including a how-to for Collabora could be useful to a lot of people. (points two thumbs at self) Quote Link to comment
pervin_1 Posted October 6, 2018 Share Posted October 6, 2018 (edited) How to setup collabora online with Nextcloud behind reverse proxy, 3 steps: -Letsencrypt nginx conf file -Collabora docker configuration -Installing collabora app under admin account in nextcloud web page The key is to use another domain name for the collabora docker and nginx conf file. Meaning, if you have used cloud.* in letsencrypt nextcloud.subdomain.conf, then you gonna have to use office.* in you server directive of the collabora.subdomain.conf. ----First, let's create the collabora.subdomain.conf file in /mnt/user/appdata/letsencrypt/nginx/proxy-confs (assuming you are using the Unraid UI terminal and linuxserver letsencrypt docker). Put this code in above-created conf file: upstream collada-office { server your_local_unraid_server_adresss:9980; } server { listen 443 ssl; server_name office.example.com; include /config/nginx/ssl.conf; # static files location ^~ /loleaflet { proxy_pass https://collada-office; proxy_set_header Host $host; } # WOPI discovery URL location ^~ /hosting/discovery { proxy_pass https://collada-office; proxy_set_header Host $host; } # Main websocket location ~ /lool/(.*)/ws$ { proxy_pass https://collada-office; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_read_timeout 36000s; } # Admin Console websocket location ^~ /lool/adminws { proxy_buffering off; proxy_pass https://collada-office; 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://collada-office; proxy_set_header Host $host; } } ---Second, Go to your Unraid docker tab and edit the collaroba docker and make sure it looks like in the screenshot: ---Third, Install the collabora app under the admin account in Nextcloud account and use this down below: Restart all 3 dockers, NextCloud , Letsecncrypt, and Collabora_Online, everything should be up and running. BTW office.example.com should be also pointing to your home server, just like nextcloud.example.com domain. Good luck!!!! Edited October 6, 2018 by pervin_1 1 1 Quote Link to comment
pervin_1 Posted October 6, 2018 Share Posted October 6, 2018 (edited) 1 hour ago, adoucette said: That could be really helpful. I thing that the Nextcloud docker for unRAID has been exceptionally popular in the forums here, and including a how-to for Collabora could be useful to a lot of people. (points two thumbs at self) done, check the post down below and pass on the information if you could to help others!!!! link Edited October 6, 2018 by pervin_1 Quote Link to comment
pervin_1 Posted October 6, 2018 Share Posted October 6, 2018 5 hours ago, cammelspit said: Instructions would be nice, I have been meaning to do this myself but just haven't gotten around to it and having a proper guide before I start fiddling would be extra great. did the instructions, check it down below link Quote Link to comment
cammelspit Posted October 6, 2018 Share Posted October 6, 2018 20 hours ago, pervin_1 said: did the instructions, check it down below link OOoooh, something cool to fiddle with this weekend? YAY! 🤣👍 Quote Link to comment
Leuchtekulli Posted November 25, 2018 Share Posted November 25, 2018 (edited) On 10/6/2018 at 4:32 AM, pervin_1 said: How to setup collabora online with Nextcloud behind reverse proxy, 3 steps: -Letsencrypt nginx conf file -Collabora docker configuration -Installing collabora app under admin account in nextcloud web page The key is to use another domain name for the collabora docker and nginx conf file. Meaning, if you have used cloud.* in letsencrypt nextcloud.subdomain.conf, then you gonna have to use office.* in you server directive of the collabora.subdomain.conf. ----First, let's create the collabora.subdomain.conf file in /mnt/user/appdata/letsencrypt/nginx/proxy-confs (assuming you are using the Unraid UI terminal and linuxserver letsencrypt docker). Put this code in above-created conf file: upstream collada-office { server your_local_unraid_server_adresss:9980; } server { listen 443 ssl; server_name office.example.com; include /config/nginx/ssl.conf; # static files location ^~ /loleaflet { proxy_pass https://collada-office; proxy_set_header Host $host; } # WOPI discovery URL location ^~ /hosting/discovery { proxy_pass https://collada-office; proxy_set_header Host $host; } # Main websocket location ~ /lool/(.*)/ws$ { proxy_pass https://collada-office; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "Upgrade"; proxy_set_header Host $host; proxy_read_timeout 36000s; } # Admin Console websocket location ^~ /lool/adminws { proxy_buffering off; proxy_pass https://collada-office; 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://collada-office; proxy_set_header Host $host; } } ---Second, Go to your Unraid docker tab and edit the collaroba docker and make sure it looks like in the screenshot: ---Third, Install the collabora app under the admin account in Nextcloud account and use this down below: Restart all 3 dockers, NextCloud , Letsecncrypt, and Collabora_Online, everything should be up and running. BTW office.example.com should be also pointing to your home server, just like nextcloud.example.com domain. Good luck!!!! Hi, I copied your conf file but letsencrypt puts out that error: nginx: [emerg] unexpected end of file, expecting ";" or "}" in /config/nginx/proxy-confs/collabora.subdomain.conf:47 So i checked the line and there is a } Can anyone help me with that? Thanks! Edited November 25, 2018 by Leuchtekulli Quote Link to comment
mweis Posted November 27, 2018 Share Posted November 27, 2018 i have done like described, but i get the page: Quote Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. Thank you for using nginx. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.