Securing HTTP traffic of your Sync server
#
IntroductionThese instructions will enable you to secure HTTP traffic of your syncing-server
, using a reverse proxy with Nginx
.
#
Pre-requisites- Your
syncing-server
is running on adocker
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- Disable the default virtual host:
- Create a new file named
syncing-server.conf
within/etc/nginx/sites-available
:
Replace yourdomain.com
with your actual domain.
Also, adjust the following line if necessary:
- Enable your new site:
- Test the
Nginx
configuration with:
#
Setting up CertbotGo to certbot to get and install your HTTPS certificate.
After completing the above instructions, your Sync server should be HTTPS enabled!