Skip to content

Implement HTTPS Access with Synology's Built-in Reverse Proxy

First, you need an external IP or domain name to access your Synology, and you have already obtained an SSL certificate. For detailed instructions, you can refer to the article Automatically Apply Domain Certificates with (Synology Docker).

Configure Reverse Proxy

Open Control Panel - Login Portal - Advanced - Reverse Proxy Server in sequence.

In the case of Setting Up a Password Manager with Bitwarden (Synology Docker), we add a reverse proxy service named bitwarden. Fill in the configuration as shown in the following figure:

  • Source
    • Protocol: Select HTTPS
    • Hostname: Fill in the domain name for external access
    • Port: Fill in the port for external access
    • Check Enable HSTS (Force redirect to HTTPS)
  • Destination
    • Protocol: Select HTTP
    • Hostname: Fill in localhost
    • Port: Fill in the port for internal access (for bitwarden, it is the port mapped to container 80, such as 8003)

Configure Certificate

Open Control Panel - Security - Certificate in sequence, select the certificate in use, click Settings, and make sure that the certificate for the domain corresponding to the reverse proxy service bitwarden is the current certificate.

This post is protected by CC BY-NC-SA 4.0 agreement, should be reproduced with attribution.

This post is translated using ChatGPT, please feedback if any omissions.