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
91f66f0f
Commit
91f66f0f
authored
Nov 08, 2019
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contract-op-ui
parent
0ca20168
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
9 deletions
+34
-9
contract-op-ui.conf
tke/ui/conf/contract-op-ui.conf
+34
-0
default.conf
tke/ui/conf/default.conf
+0
-9
No files found.
tke/ui/conf/contract-op-ui.conf
0 → 100644
View file @
91f66f0f
server
{
listen
80
;
server_name
_
;
gzip
on
;
gzip_min_length
1
k
;
gzip_buffers
4
16
k
;
gzip_http_version
1
.
0
;
gzip_comp_level
4
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_vary
on
;
location
/ {
expires
-
1
;
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
expires
30
d
;
}
set_by_lua
$
rootPath
'
local
pre
=
"/home/quant_group/"
;
local
sys
=
os
.
getenv
(
"SYSTEM_NAME"
);
return
pre
..
sys
..
"/dist"
'
;
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/default.conf
View file @
91f66f0f
...
@@ -23,13 +23,4 @@ server {
...
@@ -23,13 +23,4 @@ server {
root
$
rootPath
;
root
$
rootPath
;
try_files
$
uri
$
uri
/ /
index
.
html
?$
query_string
;
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
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