xnix:nghttpx_http2_tls_proxy
no way to compare when less than two revisions
差别
这里会显示出您选择的修订版和当前版本之间的差别。
前一修订版 | |||
— | xnix:nghttpx_http2_tls_proxy [2021/08/18 11:13] (当前版本) – [使用 nghttpx 搭建一个 HTTPS PROXY] Hshh | ||
---|---|---|---|
行 1: | 行 1: | ||
+ | ====== 使用 nghttpx 搭建一个 HTTPS PROXY ====== | ||
+ | 背景介绍: | ||
+ | |||
+ | 本案例, 将nghttpx监听在所有地址的12345端口. | ||
+ | |||
+ | 在 FreeBSD 中, nghttpx 位于 ports 的 www/ | ||
+ | |||
+ | 配置文件如下 | ||
+ | < | ||
+ | daemon=yes | ||
+ | user=www | ||
+ | frontend=*, | ||
+ | backend=127.0.0.1, | ||
+ | backend-connections-per-host=1024 | ||
+ | fastopen=1024 | ||
+ | http2-proxy=yes | ||
+ | npn-list=http/ | ||
+ | server-name= | ||
+ | tls-no-postpone-early-data=yes | ||
+ | no-via=yes | ||
+ | dh-param-file=/ | ||
+ | certificate-file=/ | ||
+ | private-key-file=/ | ||
+ | fetch-ocsp-response-file=/ | ||
+ | cacert=/ | ||
+ | </ | ||
+ | |||
+ | 附件为 FreeBSD 的启动脚本 | ||
+ | {{: | ||
+ | |||
+ | === 20200130 更新 === | ||
+ | 由于实测h2 proxy的速度不如http/ |
xnix/nghttpx_http2_tls_proxy.txt · 最后更改: 2021/08/18 11:13 由 Hshh