Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
QA
qa-deploy-utils
Commits
72267d1e
Commit
72267d1e
authored
Feb 01, 2018
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Plain Diff
:a
parents
c4cfdc29
9958de83
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
20 deletions
+24
-20
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+24
-20
No files found.
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
72267d1e
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment