Skip to content

Commit

Permalink
Add X-Forwarded-Proto header in reverse_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-russell committed Jun 11, 2024
1 parent b007bda commit ca40433
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/client-link/Caddyfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ $LINK_DOMAIN {
# optional internal tls
$TLS_INTERNAL_CONFIG

reverse_proxy $EXPOSE
reverse_proxy $EXPOSE {
header_up X-Forwarded-Proto {scheme}
}

}

0 comments on commit ca40433

Please sign in to comment.