Add ssl_redirect proxy option

This commit is contained in:
Kevin McConnell
2025-03-12 10:49:53 +00:00
parent 3c9a3f2264
commit d4ab010b01
2 changed files with 8 additions and 0 deletions

View File

@@ -52,6 +52,13 @@ proxy:
# Defaults to `false`:
ssl: true
# SSL redirect
#
# By default, kamal-proxy will redirect all HTTP requests to HTTPS when SSL is enabled.
# If you prefer that HTTP traffic is passed through to your application (along with
# HTTPS traffic), you can disable this redirect by setting `ssl_redirect: false`:
ssl_redirect: false
# Forward headers
#
# Whether to forward the `X-Forwarded-For` and `X-Forwarded-Proto` headers.