Merge pull request #175 from jackytang/master

修改.net域名时在安装完成后显示信息错误
添加编译参数 略微提升性能
pull/181/head
wulabing 2020-02-16 01:31:57 +08:00 committed by GitHub
commit 1f714c995b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -379,6 +379,7 @@ nginx_install(){
sleep 4
cd ../nginx-${nginx_version}
./configure --prefix="${nginx_dir}" \
--with-http_ssl_module \
--with-http_gzip_static_module \
@ -389,7 +390,9 @@ nginx_install(){
--with-http_mp4_module \
--with-http_secure_link_module \
--with-http_v2_module \
--with-cc-opt='-O3' \
--with-ld-opt="-ljemalloc" \
--with-openssl=../openssl-"$openssl_version"
judge "编译检查"
make && make install
@ -670,14 +673,14 @@ info_extraction(){
basic_information(){
echo -e "${OK} ${Green} V2ray+ws+tls 安装成功" > ${v2ray_info_file}
echo -e "${Red} V2ray 配置信息 ${Font}" >> ${v2ray_info_file}
echo -e "${Red} 地址address:${Font} $(info_extraction "add") " >> ${v2ray_info_file}
echo -e "${Red} 端口port${Font} $(info_extraction "port") " >> ${v2ray_info_file}
echo -e "${Red} 地址address:${Font} $(info_extraction '\"add\"') " >> ${v2ray_info_file}
echo -e "${Red} 端口port${Font} $(info_extraction '\"port\"') " >> ${v2ray_info_file}
echo -e "${Red} 用户idUUID${Font} $(info_extraction '\"id\"')" >> ${v2ray_info_file}
echo -e "${Red} 额外idalterId${Font} $(info_extraction '\"aid\"')" >> ${v2ray_info_file}
echo -e "${Red} 加密方式security${Font} 自适应 " >> ${v2ray_info_file}
echo -e "${Red} 传输协议network${Font} $(info_extraction "net") " >> ${v2ray_info_file}
echo -e "${Red} 传输协议network${Font} $(info_extraction '\"net\"') " >> ${v2ray_info_file}
echo -e "${Red} 伪装类型type${Font} none " >> ${v2ray_info_file}
echo -e "${Red} 路径(不要落下/${Font} $(info_extraction "path") " >> ${v2ray_info_file}
echo -e "${Red} 路径(不要落下/${Font} $(info_extraction '\"path\"') " >> ${v2ray_info_file}
echo -e "${Red} 底层传输安全:${Font} tls " >> ${v2ray_info_file}
}
show_information(){