Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qg-dockerfiles
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
qg-dockerfiles
Commits
d357f347
Commit
d357f347
authored
Nov 08, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
90256e8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
default.conf
tke/ui/conf/default.conf
+9
-0
nginx.conf
tke/ui/conf/nginx.conf
+2
-0
No files found.
tke/ui/conf/default.conf
View file @
d357f347
...
...
@@ -20,4 +20,13 @@ server {
root
$
rootPath
;
try_files
$
uri
$
uri
/ /
index
.
html
?$
query_string
;
}
location
/
pdf
{
if
($
host
~*
contract
-
op
-(\
w
+).([\
w
\.]+)){
set
$
domain
$
1
;
set
$
tier
$
2
;
}
rewrite
^/
pdf
/(.*)$ /$
1
break
;
proxy_pass
https
://
pdf
-$
domain
.$
tier
;
}
}
\ No newline at end of file
tke/ui/conf/nginx.conf
View file @
d357f347
...
...
@@ -30,5 +30,7 @@ http {
gzip
on
;
resolver
8
.8.8.8
;
include
/usr/local/openresty/nginx/conf/conf.d/*.conf
;
}
\ No newline at end of file
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