.nh .TH "Caddy" "8" "Apr 2024" "Auto generated by spf13/cobra" "" .SH NAME .PP caddy-reverse-proxy - A quick and production-ready reverse proxy .SH SYNOPSIS .PP \fBcaddy reverse-proxy [flags]\fP .SH DESCRIPTION .PP A simple but production-ready reverse proxy. Useful for quick deployments, demos, and development. .PP Simply shuttles HTTP(S) traffic from the --from address to the --to address. Multiple --to addresses may be specified by repeating the flag. .PP Unless otherwise specified in the addresses, the --from address will be assumed to be HTTPS if a hostname is given, and the --to address will be assumed to be HTTP. .PP If the --from address has a host or IP, Caddy will attempt to serve the proxy over HTTPS with a certificate (unless overridden by the HTTP scheme or port). .PP If --change-host-header is set, the Host header on the request will be modified from its original incoming value to the address of the upstream. (Otherwise, by default, all incoming headers are passed through unmodified.) .SH OPTIONS .PP \fB--change-host-header\fP[=false] Set upstream Host header to address of upstream .PP \fB--debug\fP[=false] Enable verbose debug logs .PP \fB--from\fP="localhost" Address on which to receive traffic .PP \fB-h\fP, \fB--help\fP[=false] help for reverse-proxy .PP \fB--insecure\fP[=false] Disable TLS verification (WARNING: DISABLES SECURITY BY NOT VERIFYING SSL CERTIFICATES!) .PP \fB--internal-certs\fP[=false] Use internal CA for issuing certs .PP \fB--to\fP=[] Upstream address(es) to which traffic should be sent .SH SEE ALSO .PP \fBcaddy(8)\fP .SH HISTORY .PP 22-Apr-2024 Auto generated by spf13/cobra