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
fa8ccb86
Commit
fa8ccb86
authored
May 24, 2018
by
tywldx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f
parent
fe87fb0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
make_frp_ini_V2.sh
qa_shell_script/ngrok/make_frp_ini_V2.sh
+2
-0
No files found.
qa_shell_script/ngrok/make_frp_ini_V2.sh
View file @
fa8ccb86
...
@@ -34,6 +34,7 @@ function createNginxHttpAndSSLConf()
...
@@ -34,6 +34,7 @@ function createNginxHttpAndSSLConf()
echo
" proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
" proxy_set_header QT_TOKEN
\$
http_QT_TOKEN;"
>>
$file_name
echo
" proxy_set_header Upgrade
\$
http_upgrade;"
>>
$file_name
echo
" proxy_set_header Upgrade
\$
http_upgrade;"
>>
$file_name
echo
" proxy_set_header Connection
\"
upgrade
\"
;"
>>
$file_name
echo
" proxy_set_header Connection
\"
upgrade
\"
;"
>>
$file_name
echo
" client_max_body_size 100M;"
>>
$file_name
echo
""
>>
$file_name
echo
""
>>
$file_name
echo
" location / {"
>>
$file_name
echo
" location / {"
>>
$file_name
echo
" proxy_pass http://
$cus_ip
:
$http_port
;"
>>
$file_name
echo
" proxy_pass http://
$cus_ip
:
$http_port
;"
>>
$file_name
...
@@ -85,6 +86,7 @@ createK8sNginxConf(){
...
@@ -85,6 +86,7 @@ createK8sNginxConf(){
echo
" proxy_set_header Host
\$
host; "
>>
$file_name
echo
" proxy_set_header Host
\$
host; "
>>
$file_name
echo
" proxy_set_header REMOTE_ADDR
\$
remote_addr; "
>>
$file_name
echo
" proxy_set_header REMOTE_ADDR
\$
remote_addr; "
>>
$file_name
echo
" proxy_set_header REMOTE_PORT
\$
remote_port; "
>>
$file_name
echo
" proxy_set_header REMOTE_PORT
\$
remote_port; "
>>
$file_name
echo
" client_max_body_size 100M;"
>>
$file_name
echo
" "
>>
$file_name
echo
" "
>>
$file_name
echo
" set
\$
ip
\"
192.168.6.12
\"
; "
>>
$file_name
echo
" set
\$
ip
\"
192.168.6.12
\"
; "
>>
$file_name
echo
" location / { "
>>
$file_name
echo
" location / { "
>>
$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