Commit Graph

2 Commits

Author SHA1 Message Date
Zhidao HONG
50525837be make proxy ctx independent of each other module. (patch for discusstion) 2025-07-16 08:06:01 +00:00
Zhidao HONG
0c3897bb70 HTTP/2: ngx_http_v2_proxy_module.
The module allows to use HTTP/2 protocol for proxying.
HTTP/2 proxying is enabled by specifying "proxy_http_version 2.0".

Example:

    server {
        listen 8000;

        location / {
            proxy_http_version 2.0;
            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;
        }
    }
2025-07-16 07:46:58 +00:00