修复bug

pull/355/head
wulabing 2019-12-25 16:48:33 +08:00
parent 6eb8f0814b
commit 45bc394e43
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ modify_UUID(){
echo -e "${GreenBG} UUID:${UUID} ${Font}" echo -e "${GreenBG} UUID:${UUID} ${Font}"
} }
modify_nginx_port(){ modify_nginx_port(){
sed -i "/listen/c \\\tlisten ${port} ssl http2" ${nginx_conf} sed -i "/ssl http2;$/c \\\tlisten ${port} ssl http2;" ${nginx_conf}
judge "V2ray port 修改" judge "V2ray port 修改"
echo -e "${GreenBG} 端口号:${port} ${Font}" echo -e "${GreenBG} 端口号:${port} ${Font}"
} }