Skip to content

SSL HTTPS Configuration

Cyril Rohr edited this page Feb 6, 2026 · 8 revisions

Recommended: proxy_tls

PullPreview can automatically inject a Caddy service that obtains Let's Encrypt certificates and proxies HTTPS traffic to your app service.

Set:

with:
  proxy_tls: web:80

That means:

  • incoming HTTPS traffic is terminated by Caddy
  • requests are proxied to web service on port 80
  • preview URL output/comment/status uses https://...:443

If your compose already publishes host port 443, PullPreview logs a warning and skips proxy injection.

Manual TLS compose setup

You can still manage TLS directly in your own compose files if preferred (custom Caddy/Nginx/Traefik config).

In that case, keep proxy_tls empty and configure service/ports yourself.

Related env vars

These environment variables are available to your runtime:

  • PULLPREVIEW_PUBLIC_DNS
  • PULLPREVIEW_PUBLIC_IP
  • PULLPREVIEW_URL
  • PULLPREVIEW_FIRST_RUN

Clone this wiki locally