Fix ERR_SSL_PROTOCOL_ERROR (#424)

pull/429/head
HaneRo 2022-10-01 11:42:58 +08:00 committed by GitHub
parent decf12ad0b
commit 99716ef575
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ function modify_ws() {
function modify_nginx_port() {
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 修改"
}