Skip to main content

Securing HTTP traffic of your Sync server


These instructions will enable you to secure HTTP traffic of your syncing-server, using a reverse proxy with Nginx.


  • Your syncing-server is running on a docker container.
  • You've installed nginx in your server.
  • You've configured a domain name (or subdomain) to point to your server's IP address.

Getting started#

Setting up Nginx#

  1. Disable the default virtual host:
unlink /etc/nginx/sites-enabled/default
  1. Create a new file named syncing-server.conf within /etc/nginx/sites-available:
server {
listen 80;
listen [::]:80;
access_log /var/log/nginx/syncing-server-access.log;
error_log /var/log/nginx/syncing-server-error.log;
location / {
proxy_pass; # syncing-server address

Replace with your actual domain.

Also, adjust the following line if necessary:

  1. Enable your new site:
ln -s /etc/nginx/sites-available/syncing-server.conf /etc/nginx/sites-enabled/syncing-server.conf
  1. Test the Nginx configuration with:
nginx -t

Setting up Certbot#

Go to certbot to get and install your HTTPS certificate.

After completing the above instructions, your Sync server should be HTTPS enabled!

Last updated on