mirror of
https://github.com/caddyserver/website.git
synced 2025-04-20 12:15:08 -04:00
docs: Add forward_proxy_url parameter introduction (#405)
* Add forward_proxy_url parameter intro https://github.com/caddyserver/caddy/pull/6114 * Update src/docs/markdown/caddyfile/directives/reverse_proxy.md Co-authored-by: Matt Holt <mholt@users.noreply.github.com> --------- Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
This commit is contained in:
parent
7b279d702c
commit
5ab8f023cc
1 changed files with 6 additions and 0 deletions
|
@ -529,6 +529,7 @@ transport http {
|
||||||
versions <versions...>
|
versions <versions...>
|
||||||
compression off
|
compression off
|
||||||
max_conns_per_host <count>
|
max_conns_per_host <count>
|
||||||
|
forward_proxy_url <url>
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -593,6 +594,11 @@ transport http {
|
||||||
|
|
||||||
- **max_conns_per_host** <span id="max_conns_per_host"/> optionally limits the total number of connections per host, including connections in the dialing, active, and idle states. Default: No limit.
|
- **max_conns_per_host** <span id="max_conns_per_host"/> optionally limits the total number of connections per host, including connections in the dialing, active, and idle states. Default: No limit.
|
||||||
|
|
||||||
|
- **forward_proxy_url** <span id="forward_proxy_url"/> is a parameter that specifies the URL of a server that the HTTP transport will use to proxy requests to the upstream server. This parameter takes precedence over environment variables like HTTP_PROXY. When a value is provided for this parameter, requests will flow through the reverse proxy in the following order:
|
||||||
|
a. User Agent -> Reverse Proxy
|
||||||
|
b. Reverse Proxy -> Forward Proxy (specified by `forward_proxy_url`)
|
||||||
|
c. Forward Proxy -> Upstream Server
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### The `fastcgi` transport
|
#### The `fastcgi` transport
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue