mirror of
https://github.com/curl/curl.git
synced 2026-05-15 06:36:21 +03:00
tests/http: Add mod_h2 directive H2ProxyRequests
master of mod_h2 now requires H2ProxyRequests directives for forward
proxying with HTTP/2 to work.
Ref: 3897a7086
Closes https://github.com/curl/curl/pull/11392
This commit is contained in:
parent
9d6d47099b
commit
cae12480fc
1 changed files with 2 additions and 0 deletions
|
|
@ -303,6 +303,7 @@ class Httpd:
|
|||
f' ServerName {proxy_domain}',
|
||||
f' Protocols h2c http/1.1',
|
||||
f' ProxyRequests On',
|
||||
f' H2ProxyRequests On',
|
||||
f' ProxyVia On',
|
||||
f' AllowCONNECT {self.env.http_port} {self.env.https_port}',
|
||||
])
|
||||
|
|
@ -319,6 +320,7 @@ class Httpd:
|
|||
f' SSLCertificateFile {proxy_creds.cert_file}',
|
||||
f' SSLCertificateKeyFile {proxy_creds.pkey_file}',
|
||||
f' ProxyRequests On',
|
||||
f' H2ProxyRequests On',
|
||||
f' ProxyVia On',
|
||||
f' AllowCONNECT {self.env.http_port} {self.env.https_port}',
|
||||
])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue