|
Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
|
Options for Proxy middleware. More...
#include <Proxy.hpp>
Public Attributes | |
| std::string | target_host |
| int | target_port |
| std::string | strip_prefix = "" |
| bool | use_tls = false |
| Connect to the upstream over TLS (also implied by port 443) | |
| bool | verify_tls = true |
| Verify the upstream certificate chain and hostname. | |
| std::string | ca_file |
| Optional PEM CA bundle for upstream verification. | |
| bool | trust_forwarded_headers = false |
| Keep and extend client-supplied X-Forwarded-* headers. | |
Options for Proxy middleware.
| std::string orbit::middleware::ProxyOptions::ca_file |
Optional PEM CA bundle for upstream verification.
| std::string orbit::middleware::ProxyOptions::strip_prefix = "" |
| std::string orbit::middleware::ProxyOptions::target_host |
| int orbit::middleware::ProxyOptions::target_port |
| bool orbit::middleware::ProxyOptions::trust_forwarded_headers = false |
Keep and extend client-supplied X-Forwarded-* headers.
| bool orbit::middleware::ProxyOptions::use_tls = false |
Connect to the upstream over TLS (also implied by port 443)
| bool orbit::middleware::ProxyOptions::verify_tls = true |
Verify the upstream certificate chain and hostname.