Update ch07-xray-server.md

xray配置中的tlsSettings应该加上"alpn": "http/1.1",否则按照教程【服务器优化之二:开启 HTTP 自动跳转 HTTPS】操作之后,网站无法正常访问,访问网站的时候会出现ERR_HTTP2_PROTOCOL_ERROR,但xray还是可以正常工作的。
pull/320/head
Expyh 2 years ago committed by yuhan6665
parent 8dd7f3a79c
commit ac82cef655

@ -279,6 +279,7 @@
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": "http/1.1",
"certificates": [
{
"certificateFile": "/home/vpsadmin/xray_cert/xray.crt",

Loading…
Cancel
Save