-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
|
Hey, I'm using the same setup and i don't have this problem. For reference check out my compose file. What settings are you using for your proxy host in NPM? I'm seeing you are using the whole setup with apps unlike me. For this you need to use Trafic, at least as far as I know. |
Beta Was this translation helpful? Give feedback.
-
|
@philliphs how did you get all running? It seems youre using the Opencloud/Traefik behind NPM? |
Beta Was this translation helpful? Give feedback.
-
|
For people as dumb as me, simply do this. I run NPM on a different server than OpenCloud. Read the entire documentation, but at the nginx part, do this. Check this @ptC7H12 Using Nginx Proxy Manager, you don't need certificates on the internal OpenCloud server. On the OpenCloud server, you need nginx listening for external connections, so create a nginx config file without certificate validation, a nginx server listening for HTTP connections instead of HTTPS. Like this root@opencloud:/etc/nginx/sites-available# cat opencloud # OpenCloud (oCIS)
server {
listen 80;
server_name cloud.YOUR.DOMAIN;
access_log /var/log/nginx/ocis-access.log;
error_log /var/log/nginx/ocis-error.log;
# Increase max upload size
client_max_body_size 10M;
proxy_buffering off;
proxy_request_buffering off;
proxy_read_timeout 3600s;
proxy_send_timeout 3600s;
keepalive_requests 100000;
keepalive_timeout 5m;
http2_max_concurrent_streams 512;
proxy_next_upstream off;
location / {
proxy_pass http://127.0.0.1:9200;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}
# Collabora
server {
listen 80;
server_name collabora.YOUR.DOMAIN;
client_max_body_size 10M;
location / {
proxy_pass http://127.0.0.1:9980;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
# Websockets Collabora
location ~ ^/cool/(.*)/ws$ {
proxy_pass http://127.0.0.1:9980;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto https;
}
}
# WOPI Server
server {
listen 80;
server_name wopiserver.YOUR.DOMAIN;
location / {
proxy_pass http://127.0.0.1:9300;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
}
}Don't forget to enable the nginx configuration with Of course if you are not checking for certificates, your .env file should have Last point, on Nginx Proxy Manager, now that your OpenCloud server has a nginx server inside of it listening for incoming connections and forwarding them internally, you need your Nginx Proxy Manager to listen on YOUR.DOMAIN for port 80 for all of them. create 3 proxies like this http | opencloud.local | cloud.YOUR.DOMAIN | port=80 for the Collabora proxy, enable websockets support. You technically could create a single reverse proxy housing 3 different external domains pointing to a local domain, but I prefer to create multiple proxies for clarity with 1:1 mappings. You should be done after this, and your server will be accessible on cloud.YOUR.DOMAIN :) |
Beta Was this translation helpful? Give feedback.

Finally figure it out. Duh!
Installation wise, just follow https://docs.opencloud.eu/docs/admin/getting-started/container/docker-compose/ exactly.
On NPM, forward https to local IP address on port 443. Then enable web-socket support and collabora works.