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
93865b29
Commit
93865b29
authored
Jan 18, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
70d73b11
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
13 deletions
+16
-13
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+16
-13
No files found.
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
93865b29
...
@@ -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
createNginx
HttpAnd
SSLConf
$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
createNginx
HttpAnd
SSLConf
$project_name
$sub_doman
$target_ip
$http_port
$https_port
$file_name
fi
fi
done
done
done
done
...
...
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