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
3e93a87a
Commit
3e93a87a
authored
Nov 29, 2017
by
智勇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qa-deploy-utils
parents
33ad51ef
126bf9d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
make_frp_ini.sh
qa_shell_script/ngrok/make_frp_ini.sh
+8
-1
No files found.
qa_shell_script/ngrok/make_frp_ini.sh
View file @
3e93a87a
...
...
@@ -171,7 +171,14 @@ do
addFrpcSub
${
var
[0]
}
-
${
var
[2]
}
http 127.0.0 1 8000
${
var
[2]
}
-
${
namespace
[0]
}
$filename
createNginxHttpAndSSLConf
${
var
[2]
}
-qa
${
namespace
[0]
}
${
namespace
[1]
}
${
var
[1]
}
$nginxname
/
${
var
[0]
}
-
${
namespace
[0]
}
.conf
done
basePorts
=
"redis|80 db|3306 rabbitmq|80"
for
basePort
in
${
basePorts
[@]
}
do
var
=(
${
basePort
//|/
}
)
namespace
=(
${
host_name
//|/
}
)
ips
=(
${
namespace
[1]//./
}
)
addFrpcSub
${
var
[0]
}
-
${
var
[2]
}
http
${
ips
[0]
}
.
${
ips
[1]
}
.
${
ips
[2]
}
${
ips
[3]
}
${
var
[1]
}
${
var
[0]
}
-
${
namespace
[0]
}
$filename
done
done
nginx
-s
reload
...
...
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