SSL / TLS#
PosternProxy leverages Caddy’s automatic HTTPS to handle TLS with minimal configuration. The SSL tab controls certificate selection and security options.
How a host is served#
Select Auto HTTPS, Custom Cert, or HTTP Only in the basic form or the advanced SSL tab:
| SSL mode | Result |
|---|---|
| Auto HTTPS (default for new hosts) | Caddy obtains a Let’s Encrypt certificate and redirects HTTP → HTTPS. |
| Custom Cert | Uses the selected stored certificate on HTTPS. The host’s existing forced-HTTPS setting determines whether HTTP redirects or remains available. |
| HTTP Only | Served over plain HTTP on port 80. No certificate is requested. |
Previously saved hosts without forced HTTPS or a certificate remain on HTTP and open as HTTP Only when edited. To enable TLS for an affected host, explicitly select Auto HTTPS and save. Check configuration application and TLS status after changing the mode; a saved setting does not prove a certificate is ready.
The upstream Scheme controls the connection from Caddy to your application. It is independent of the SSL mode used by visitors.
Automatic Let’s Encrypt#
Select Auto HTTPS to use automatic issuance. For automatic certificates, Caddy will:
- Manage certificate issuance for the configured public domains
- Store the certificate in its managed certificate store
- Renew automatically before expiry
Requirements for automatic certificates:
- The domain must resolve publicly to the server’s IP address
- Port 80 must be reachable for the ACME HTTP-01 challenge
If these requirements are not met, choose HTTP Only or upload and select a custom certificate instead.
Custom certificates#
If you have your own certificate (e.g. a wildcard or internal CA certificate), upload it first on the Certificates page, then select it from the SSL Certificate dropdown on the SSL tab.

Unsaved SSL configuration. No certificate has been requested.
HTTP redirects#
Auto HTTPS enables forced HTTPS: the host is served on port 443 and
plain-HTTP requests receive a 301 redirect to https://. HTTP Only clears
forced HTTPS. API clients can also set ssl_forced explicitly; an existing
custom-certificate host with it off serves both HTTP and HTTPS.
HSTS#
HTTP Strict Transport Security instructs browsers to only connect via HTTPS for a period of time.
| Setting | Header effect |
|---|---|
| HSTS Enabled | Adds Strict-Transport-Security: max-age=31536000 |
| Include Subdomains | Appends ; includeSubDomains |
**Enable HSTS carefully** Once a browser receives an HSTS header, it will refuse HTTP connections for the `max-age` period (1 year by default). Do not enable HSTS unless you are certain HTTPS will remain available for the domain.
TLS termination and NTLM#
NTLM authentication passthrough terminates TLS when the host is served over HTTPS. That can conflict with IIS Extended Protection. Do not turn off Extended Protection or certificate verification to make the upstream connect. When the upstream must see the client handshake, use TLS passthrough and leave the NTLM control off. IIS behavior of the NTLM control is not verified.
HTTP/2#
HTTP/2 is enabled by default. It is a server-wide setting (the HTTPS listener serves all hosts), not a per-host option — toggle it per server on the Servers page. Turning it off restricts that server’s HTTPS listener to HTTP/1.1. The NTLM transport still uses HTTP/1.1 on its upstream connection.
TLS Passthrough#
For services that must handle TLS themselves (e.g. databases with mutual TLS, or services that require client certificates), use TLS Passthrough mode instead of a regular proxy host.
SSL tab reference#
| Field | Description |
|---|---|
| SSL Mode | Auto HTTPS, Custom Cert, or HTTP Only |
| Certificate | Select a stored certificate when using Custom Cert |
| HSTS Enabled | Add Strict-Transport-Security header |
| Include Subdomains | Add includeSubDomains to HSTS header |
HTTP/2 is configured per server on the Servers page, not here.