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
c6cc5e00
Commit
c6cc5e00
authored
Jan 26, 2018
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.quantgroup.cn/QA/qa-deploy-utils
parents
5972161e
f02a133f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+4
-2
No files found.
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
c6cc5e00
...
...
@@ -27,8 +27,10 @@ function createNginxHttpAndSSLConf()
echo
"server {"
>>
$file_name
echo
" listen 80;"
>>
$file_name
echo
" server_name
$cus_domain
.q-gp.com;"
>>
$file_name
echo
" underscores_in_headers on;"
>>
$file_name
echo
" proxy_set_header Host
\$
host;"
>>
$file_name
echo
"
proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
" proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
""
>>
$file_name
echo
" location / {"
>>
$file_name
...
...
@@ -40,7 +42,7 @@ function createNginxHttpAndSSLConf()
echo
" listen 443 ssl;"
>>
$file_name
echo
" server_name
$cus_domain
.q-gp.com;"
>>
$file_name
echo
""
>>
$file_name
echo
"
proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
" proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
" ssl_certificate /home/q-gp/ssl/certificate.crt;"
>>
$file_name
echo
" ssl_certificate_key /home/q-gp/ssl/private.key;"
>>
$file_name
echo
""
>>
$file_name
...
...
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