Commit 93865b29 authored by tywldx's avatar tywldx

f

parent 70d73b11
...@@ -66,17 +66,20 @@ function createNginxHttpAndSSLConf() ...@@ -66,17 +66,20 @@ function createNginxHttpAndSSLConf()
# addFrpcSub h5sp http 192.168.4 25 7057 h5sp-25 $filename # addFrpcSub h5sp http 192.168.4 25 7057 h5sp-25 $filename
# addFrpcSub qg1 http 192.168.4 21 9019 qg1-21 $filename # addFrpcSub qg1 http 192.168.4 21 9019 qg1-21 $filename
# addFrpcSub uanguang http 192.168.4 124 80 uanguang $filename # addFrpcSub uanguang http 192.168.4 124 80 uanguang $filename
# createNginxSSLConf store 192.168.4.27 9000 $nginxname/store.conf # createNginxHttpAndSSLConf store 192.168.4.27 9000 $nginxname/store.conf
createNginxSSLConf h5 h5 192.168.4.25 7051 7051 $nginxname/base.conf
createNginxSSLConf mock mock 192.168.4.27 80 80 $nginxname/base.conf createNginxHttpAndSSLConf h5 h5 192.168.4.25 7051 7051 $nginxname/base.conf
createNginxSSLConf atm atm 192.168.4.18 3000 3000 $nginxname/base.conf createNginxHttpAndSSLConf mock mock 192.168.4.27 80 80 $nginxname/base.conf
createNginxSSLConf auth-center auth-center-38 192.168.4.193 8099 8099 $nginxname/base.conf createNginxHttpAndSSLConf atm atm 192.168.4.18 3000 3000 $nginxname/base.conf
createNginxSSLConf company company-241 192.168.4.27 10087 10087 $nginxname/base.conf createNginxHttpAndSSLConf auth-center auth-center-38 192.168.4.193 8099 8099 $nginxname/base.conf
createNginxSSLConf bp bp 192.168.4.27 10084 10084 $nginxname/base.conf createNginxHttpAndSSLConf company company-241 192.168.4.27 10087 10087 $nginxname/base.conf
createNginxSSLConf qahelp qahelp 192.168.4.27 8000 8000 $nginxname/base.conf createNginxHttpAndSSLConf bp bp 192.168.4.27 10084 10084 $nginxname/base.conf
createNginxSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.conf createNginxHttpAndSSLConf qahelp qahelp 192.168.4.27 8000 8000 $nginxname/base.conf
createNginxSSLConf qg1 qg1-21 192.168.4.21 9019 9019 $nginxname/base.conf createNginxHttpAndSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.conf
createNginxSSLConf qahelp qahelp 192.168.4.27 8000 8000 $nginxname/base.conf createNginxHttpAndSSLConf qg1 qg1-21 192.168.4.21 9019 9019 $nginxname/base.conf
createNginxHttpAndSSLConf uanguang uanguang 192.168.4.124 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf store store 192.168.4.27 9000 9000 $nginxname/base.conf
for ip_last in ${ips[@]} for ip_last in ${ips[@]}
do do
...@@ -98,7 +101,7 @@ do ...@@ -98,7 +101,7 @@ do
file_name="$nginxname/$target_ip.conf" file_name="$nginxname/$target_ip.conf"
# createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件 # createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件
if [[ ${var[0]} != "xyqb-ui" ]] && [[ ${var[0]} != "paycenter-ui" ]];then if [[ ${var[0]} != "xyqb-ui" ]] && [[ ${var[0]} != "paycenter-ui" ]];then
createNginxSSLConf $project_name $sub_doman $target_ip $http_port $https_port $file_name createNginxHttpAndSSLConf $project_name $sub_doman $target_ip $http_port $https_port $file_name
fi fi
done done
done done
...@@ -119,7 +122,7 @@ do ...@@ -119,7 +122,7 @@ do
file_name="$nginxname/${namespace[0]}.conf" file_name="$nginxname/${namespace[0]}.conf"
# createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件 # createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件
if [[ ${var[0]} != "xyqb-ui" ]] && [[ ${var[0]} != "paycenter-ui" ]];then if [[ ${var[0]} != "xyqb-ui" ]] && [[ ${var[0]} != "paycenter-ui" ]];then
createNginxSSLConf $project_name $sub_doman $target_ip $http_port $https_port $file_name createNginxHttpAndSSLConf $project_name $sub_doman $target_ip $http_port $https_port $file_name
fi fi
done done
done done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment