mirror of https://github.com/wulabing/Xray_onekey
Fix ERR_SSL_PROTOCOL_ERROR (#424)
parent
decf12ad0b
commit
99716ef575
|
@ -347,7 +347,7 @@ function modify_ws() {
|
||||||
|
|
||||||
function modify_nginx_port() {
|
function modify_nginx_port() {
|
||||||
sed -i "/ssl http2;$/c \\\tlisten ${PORT} ssl http2;" ${nginx_conf}
|
sed -i "/ssl http2;$/c \\\tlisten ${PORT} ssl http2;" ${nginx_conf}
|
||||||
sed -i "3c \\\tlisten [::]:${PORT} http2;" ${nginx_conf}
|
sed -i "3c \\\tlisten [::]:${PORT} ssl http2;" ${nginx_conf}
|
||||||
judge "Xray port 修改"
|
judge "Xray port 修改"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue