用户工具

站点工具


xnix:nghttpx_http2_tls_proxy

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
xnix:nghttpx_http2_tls_proxy [2021/08/18 10:17] – ↷ 页面freebsd:network:nghttpx_http2_tls_proxy被移动至xnix:nghttpx_http2_tls_proxy Hshhxnix:nghttpx_http2_tls_proxy [2025/04/19 01:37] (当前版本) – 禁用了OCSP. 加入了提高 http2 上传速度的参数, 如果要使用 h2 的话 Hshh
行 17: 行 17:
 http2-proxy=yes http2-proxy=yes
 npn-list=http/1.1 npn-list=http/1.1
 +#frontend-http2-window-size=8M
 +#frontend-http2-connection-window-size=2M
 server-name= server-name=
 tls-no-postpone-early-data=yes tls-no-postpone-early-data=yes
行 23: 行 25:
 certificate-file=/usr/local/etc/ssl/fullchain.pem certificate-file=/usr/local/etc/ssl/fullchain.pem
 private-key-file=/usr/local/etc/ssl/privkey.pem private-key-file=/usr/local/etc/ssl/privkey.pem
-fetch-ocsp-response-file=/usr/local/share/nghttp2/fetch-ocsp-response +no-ocsp=yes
-cacert=/usr/local/etc/ssl/ca.pem+
 </code> </code>
  
 附件为 FreeBSD 的启动脚本 附件为 FreeBSD 的启动脚本
-{{:freebsd:network:nghttpx_multi|}}+{{:freebsd:nghttpx_multi|}}
  
 === 20200130 更新 === === 20200130 更新 ===
 由于实测h2 proxy的速度不如http/1.1的, 特别是上行速度非常低, 所以上述配置文件直接禁用了h2的npn, 强制服务端只允许http/1.1 由于实测h2 proxy的速度不如http/1.1的, 特别是上行速度非常低, 所以上述配置文件直接禁用了h2的npn, 强制服务端只允许http/1.1
 +=== 20250419 更新 ===
 +禁用了 OCSP, OCSP 要废弃了.
 +
 +{{tag>nghttp2 nghttpx "https proxy"}}
xnix/nghttpx_http2_tls_proxy.1629253079.txt.gz · 最后更改: 2021/08/18 10:17 由 Hshh