Commit 72267d1e authored by qa_quantgroup's avatar qa_quantgroup

:a

parents c4cfdc29 9958de83
...@@ -60,33 +60,37 @@ function createNginxHttpAndSSLConf() ...@@ -60,33 +60,37 @@ function createNginxHttpAndSSLConf()
} }
# 数据部要求地址
createNginxHttpAndSSLConf auth-center auth-center-38 192.168.4.193 8099 8099 $nginxname/base.conf
createNginxHttpAndSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.conf
# addFrpcSub h5 http 192.168.4 25 7051 h5 $filename
# addFrpcSub mock http 192.168.4 27 80 mock $filename
# addFrpcSub atm http 192.168.4 18 3000 atm $filename
# addFrpcSub auth-center http 192.168.4 193 8099 auth-center-38 $filename
# addFrpcSub company http 192.168.4 27 10087 company-241 $filename
# addFrpcSub bp http 192.168.4 27 10084 bp $filename
# addFrpcSub qahelp http 192.168.4 27 8000 qahelp $filename
# addFrpcSub h5sp http 192.168.4 25 7057 h5sp-25 $filename
# addFrpcSub qg1 http 192.168.4 21 9019 qg1-21 $filename
# addFrpcSub uanguang http 192.168.4 124 80 uanguang $filename
# createNginxHttpAndSSLConf store 192.168.4.27 9000 $nginxname/store.conf
# 业务要求
createNginxHttpAndSSLConf h5 h5 192.168.4.26 7051 7051 $nginxname/base.conf createNginxHttpAndSSLConf h5 h5 192.168.4.26 7051 7051 $nginxname/base.conf
createNginxHttpAndSSLConf mock mock 192.168.4.27 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf atm atm 192.168.4.18 3000 3000 $nginxname/base.conf
createNginxHttpAndSSLConf auth-center auth-center-38 192.168.4.193 8099 8099 $nginxname/base.conf
#createNginxHttpAndSSLConf company company-241 172.30.220.22 10087 10087 $nginxname/base.conf
createNginxHttpAndSSLConf bp bp 192.168.4.27 10084 10084 $nginxname/base.conf
createNginxHttpAndSSLConf qahelp qahelp 192.168.4.27 8000 8000 $nginxname/base.conf
createNginxHttpAndSSLConf h5sp h5sp-25 192.168.4.25 7057 7057 $nginxname/base.conf
createNginxHttpAndSSLConf qg1 qg1-21 192.168.4.21 9019 9019 $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 uanguang uanguang 192.168.4.124 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf store store 192.168.4.27 9000 9000 $nginxname/base.conf
createNginxHttpAndSSLConf gongyucheng gongyucheng 192.168.4.254 80 80 $nginxname/base.conf createNginxHttpAndSSLConf gongyucheng gongyucheng 192.168.4.254 80 80 $nginxname/base.conf
# 工作目录
createNginxHttpAndSSLConf jen jen 192.168.4.2 8080 8080 $nginxname/base.conf createNginxHttpAndSSLConf jen jen 192.168.4.2 8080 8080 $nginxname/base.conf
# 自定义服务
createNginxHttpAndSSLConf qa qa 172.30.220.22 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf qg qg 172.30.220.22 10087 10087 $nginxname/base.conf
createNginxHttpAndSSLConf bp bp 172.30.220.22 10084 10084 $nginxname/base.conf
createNginxHttpAndSSLConf qahelp qahelp 172.30.220.22 8000 8000 $nginxname/base.conf
createNginxHttpAndSSLConf store store 172.30.220.22 9000 9000 $nginxname/base.conf
createNginxHttpAndSSLConf mock mock 172.30.220.22 80 80 $nginxname/base.conf
createNginxHttpAndSSLConf atm atm 172.30.220.43 80 80 $nginxname/base.conf
for ip_last in ${ips[@]} for ip_last in ${ips[@]}
do do
IP_host=`sh $pwd_path_0/get-ip.sh $ip_last` IP_host=`sh $pwd_path_0/get-ip.sh $ip_last`
...@@ -111,7 +115,6 @@ do ...@@ -111,7 +115,6 @@ do
createNginxHttpAndSSLConf $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
createNginxHttpAndSSLConf xyqb-user-ui xyqb-user-ui-$ip_last_repeat $IP_host 7043 7043 $file_name
done done
for host_name in ${dockernamespace[@]} for host_name in ${dockernamespace[@]}
...@@ -140,3 +143,4 @@ done ...@@ -140,3 +143,4 @@ done
nginx -s reload nginx -s reload
# sh ${frp_file_path}/restart.sh # sh ${frp_file_path}/restart.sh
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