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
7af0aa0b
Commit
7af0aa0b
authored
Jan 22, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a11e8966
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
get_project_config.js
qa_shell_script/config_server/get_project_config.js
+2
-1
get_project_config_server.js
qa_shell_script/config_server/get_project_config_server.js
+1
-1
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+1
-1
No files found.
qa_shell_script/config_server/get_project_config.js
View file @
7af0aa0b
...
@@ -81,7 +81,8 @@ var hosts = {
...
@@ -81,7 +81,8 @@ var hosts = {
"
pinjamancepat-collection
"
:
"
pinja-collection-api.xyqb.com
"
,
"
pinjamancepat-collection
"
:
"
pinja-collection-api.xyqb.com
"
,
"
translate
"
:
"
translate.xyqb.com
"
,
"
translate
"
:
"
translate.xyqb.com
"
,
"
union-ui
"
:
"
union-ui.xyqb.com
"
,
"
union-ui
"
:
"
union-ui.xyqb.com
"
,
"
pinjamancepat-config
"
:
"
pinja-config.xyqb.com
"
"
pinjamancepat-config
"
:
"
pinja-config.xyqb.com
"
,
"
clotho
"
:
"
clotho.xyqb.com
"
}
}
var
pClass
=
function
()
{};
var
pClass
=
function
()
{};
...
...
qa_shell_script/config_server/get_project_config_server.js
View file @
7af0aa0b
...
@@ -112,7 +112,7 @@ admin.get('/get_hosts', function (req, res) {
...
@@ -112,7 +112,7 @@ admin.get('/get_hosts', function (req, res) {
// 增加一个新的nginx映射
// 增加一个新的nginx映射
admin
.
post
(
'
/add_new_proxy
'
,
function
(
req
,
res
)
{
admin
.
post
(
'
/add_new_proxy
'
,
function
(
req
,
res
)
{
let
request
=
req
.
body
;
let
request
=
req
.
body
;
let
new_namespace
=
request
[
"
namespace
"
],
new_ip
=
request
[
"
ip
"
],
new_ports
=
request
[
"
p
roxy_p
orts
"
];
let
new_namespace
=
request
[
"
namespace
"
],
new_ip
=
request
[
"
ip
"
],
new_ports
=
request
[
"
ports
"
];
var
str
=
String
(
execSync
(
`cat ../ngrok/docker_env_name.sh`
)).
replace
(
/
\n
/
,
""
);
var
str
=
String
(
execSync
(
`cat ../ngrok/docker_env_name.sh`
)).
replace
(
/
\n
/
,
""
);
let
data
=
parseStr2Json
(
str
);
let
data
=
parseStr2Json
(
str
);
data
[
new_namespace
]
=
{
data
[
new_namespace
]
=
{
...
...
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
7af0aa0b
...
@@ -120,7 +120,7 @@ do
...
@@ -120,7 +120,7 @@ do
sub_doman
=
"
${
var
[2]
}
-
${
namespace
[0]
}
"
sub_doman
=
"
${
var
[2]
}
-
${
namespace
[0]
}
"
target_ip
=
"
${
namespace
[1]
}
"
target_ip
=
"
${
namespace
[1]
}
"
http_port
=
"
${
namespace
[2]
}
"
http_port
=
"
${
namespace
[2]
}
"
https_port
=
"
${
namespace
[
3
]
}
"
https_port
=
"
${
namespace
[
2
]
}
"
file_name
=
"
$nginxname
/
${
namespace
[0]
}
.conf"
file_name
=
"
$nginxname
/
${
namespace
[0]
}
.conf"
# createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件
# createNginxHttpAndSSLConf 服务名称 二级域名 目标IP HTTP端口 HTTPS端口 目标文件
if
[[
${
var
[0]
}
!=
"xjd-ui"
]]
&&
[[
${
var
[0]
}
!=
"new-paycenter-ui"
]]
;
then
if
[[
${
var
[0]
}
!=
"xjd-ui"
]]
&&
[[
${
var
[0]
}
!=
"new-paycenter-ui"
]]
;
then
...
...
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