diff options
| author | Zhidao HONG <z.hong@f5.com> | 2025-07-15 15:35:39 +0000 |
|---|---|---|
| committer | Roman Arutyunyan <arutyunyan.roman@gmail.com> | 2025-12-08 07:49:16 +0400 |
| commit | 9bf758ea4d5db1101296cc111f6d782045148727 (patch) | |
| tree | fd9b351bae0e35ddeb518be9dd87811b999a9241 /src/http/ngx_http_request.c | |
| parent | 90a4fc793527b67678fd48b2692be09f30d8ffcf (diff) | |
| download | nginx-9bf758ea4d5db1101296cc111f6d782045148727.tar.gz nginx-9bf758ea4d5db1101296cc111f6d782045148727.tar.bz2 | |
Proxy: added HTTP/2 proxy module.
The module allows to use HTTP/2 protocol for proxying.
HTTP/2 proxying is enabled by specifying "proxy_http_version 2".
Example:
server {
listen 8000;
location / {
proxy_http_version 2;
proxy_pass https://127.0.0.1:8443;
}
}
server {
listen 8443 ssl;
http2 on;
ssl_certificate certs/example.com.crt;
ssl_certificate_key certs/example.com.key;
location / {
return 200 foo;
}
}
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions
