mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-19 01:01:41 +03:00
Update ch07-xray-server.md
xray配置中的tlsSettings应该加上"alpn": "http/1.1",否则按照教程【服务器优化之二:开启 HTTP 自动跳转 HTTPS】操作之后,网站无法正常访问,访问网站的时候会出现ERR_HTTP2_PROTOCOL_ERROR,但xray还是可以正常工作的。
This commit is contained in:
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…
x
Reference in New Issue
Block a user