1Caddy(8) Caddy(8)
2
3
4
6 caddy-reverse-proxy - A quick and production-ready reverse proxy
7
8
9
11 caddy reverse-proxy [flags]
12
13
14
16 A simple but production-ready reverse proxy. Useful for quick deploy‐
17 ments, demos, and development.
18
19
20 Simply shuttles HTTP(S) traffic from the --from address to the --to ad‐
21 dress. Multiple --to addresses may be specified by repeating the flag.
22
23
24 Unless otherwise specified in the addresses, the --from address will be
25 assumed to be HTTPS if a hostname is given, and the --to address will
26 be assumed to be HTTP.
27
28
29 If the --from address has a host or IP, Caddy will attempt to serve the
30 proxy over HTTPS with a certificate (unless overridden by the HTTP
31 scheme or port).
32
33
34 If --change-host-header is set, the Host header on the request will be
35 modified from its original incoming value to the address of the up‐
36 stream. (Otherwise, by default, all incoming headers are passed through
37 unmodified.)
38
39
40
42 --change-host-header[=false] Set upstream Host header to address
43 of upstream
44
45
46 --debug[=false] Enable verbose debug logs
47
48
49 --disable-redirects[=false] Disable HTTP->HTTPS redirects
50
51
52 --from="localhost" Address on which to receive traffic
53
54
55 -h, --help[=false] help for reverse-proxy
56
57
58 --insecure[=false] Disable TLS verification (WARNING: DISABLES SE‐
59 CURITY BY NOT VERIFYING SSL CERTIFICATES!)
60
61
62 --internal-certs[=false] Use internal CA for issuing certs
63
64
65 --to=[] Upstream address(es) to which traffic should be sent
66
67
68
70 caddy(8)
71
72
73
75 15-Aug-2023 Auto generated by spf13/cobra
76
77
78
79Auto generated by spf13/cobra Aug 2023 Caddy(8)