I can’t get CellSync to work with Pydio behind an NGINX server.
Most “examples” I found all assume the NGINX is on the same machine as the Pydio server, for my setup this isn’t the case (as the NGINX server is on one machine and the Pydio is in a VM on a different machine).
The website interface works fine, its just the CellSync Client gets stuck with “Pick a folder”.
It has a red bar that says “Forbidden” , then a “Select Folder” that is empty and can’t be selected.
I should note the “Login to a new server …” works fine, it just can’t select the folder.
There is a valid “Let’s Encrypt” SSL certification on the NGINX server for the domain, and a “self signed” TLS that was setup by the install for the pydio server.
±–±---------------------±------------±------------------------------+
| # | BIND(S) | TLS | EXTERNAL URL |
±–±---------------------±------------±------------------------------+
| 0 | https://0.0.0.0:8080 | Self-signed | https://pydio.example.com |
±–±---------------------±------------±------------------------------+
The webserver is behind a firewall that port-forwards only 443 and 80 to it.
NGINX is basically config as:
server {
listen [::]:443 ssl http2;
server_name pydio.example.com;
ssl_certificate /path/to/keys/fullchain.pem; # managed by Certbot
ssl_certificate_key /path/to/keys/privkey.pem; # managed by Certbot
root /var/www/$server_name;
client_max_body_size 0;
proxy_buffering off;
location / {
if ($http_content_type = "application/grpc") {
grpc_pass grpcs://192.168.1.2:8080;
}
proxy_pass https://192.168.1.2:8080;
}
location /ws/ {
proxy_pass https://192.168.1.2:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
}
I have tried it with and w/o
if ($http_content_type = “application/grpc”) {
grpc_pass grpcs://192.168.1.2:8080;
}
Because I believe grpc_pass is important for the CellSync to work correctly.
But I have had not success in making it work.
Anyone know the missing piece here?