Hi,
I'm trying to set up my sync node in cloud. These are the steps I've done:
I created resilio instance as a docker container with docker-compose:
---
version: "2.1"
services:
resilio-sync:
image: ghcr.io/linuxserver/resilio-sync
container_name: resilio-sync
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Warsaw
- UMASK_SET=022 #optional
volumes:
- /home/user/sync_config:/config
- /mnt/volume_sgp1_01/containers_data/sync_downloads:/downloads
- /mnt/volume_sgp1_01/sync:/sync
ports:
- 443:8888
- 55555:55555
restart: unless-stopped
Once I accessed web ui, browser complained about lack of ssl certificate, so I tried to generate one with command:
openssl req -newkey rsa:2048 -nodes -keyout domain.key-x509 -days 36500 -out sync.crt
I've adjusted resilio settings to use that certificate:
"webui" :
{
"listen" : "0.0.0.0:8888",
"allow_empty_password" : false,
"dir_whitelist" : [ "/sync", "/sync/folders", "/sync/mounted_folders" ],
"ssl_certificate" : "/config/sync.crt"
}
After restarting of container, it started without issues, but when I'm trying to access web ui once again, my browser gives me error: SSL_ERROR_RX_RECORD_TOO_LONG
What have I done wrong?