How To Install Resilio Sync On Ubuntu 16.04 and Ubuntu 16.10 - LinuxBabe
How To Install Resilio Sync On Ubuntu 16.04 and Ubuntu 16.10 - LinuxBabe
deb http://linux-packages.resilio.com/resilio
-sync/deb resilio-sync non-free
wget https://linux-packages.resilio.com/resil
io-sync/key.asc
127.0.0.1:8888
server {
listen 80;
server_name sync.yourdomain.com;
access_log /var/log/nginx/sync.yourdomain.c
om.log;
location / {
proxy_pass http://127.0.0.1:8888;
}
}
Install letsencrypt
location ~ /.well-known/acme-challenge {
root /var/www/sync.yourdomain.com/;
allow all;
}
Save and close the file. Reload Nginx for the changes
to take effect.
IMPORTANT NOTES:
- Congratulations! Your certificate and chai
n have been saved at
/etc/letsencrypt/live/sync.yourdomain.com/ful
lchain.pem. Your cert
will expire on 2017-05-09. To obtain a new
version of the
certificate in the future, simply run Let'
s Encrypt again.
- If you like Let's Encrypt, please consider
supporting our work by:
server {
listen 80;
server_name sync.yourdomain.com;
return 301 https://$server_name$request_uri
;
}
server {
listen 443 ssl http2;
server_name sync.yourdomain.com;
access_log /var/log/nginx/sync.yourdomain.c
om.log;
location / {
proxy_pass http://127.0.0.1:8888;
}
location ~ /.well-known/acme-challenge {
root /var/www/sync.yourdomain.com/;
allow all;
}
}
Save and close the file. Test Nginx configuration and
reload.
sudo nginx -t
Cheers!
Related Posts:
Ubuntu 16.10