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
2354fe3f
Commit
2354fe3f
authored
Apr 07, 2020
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx conf
parent
e7742b20
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
0 deletions
+48
-0
contract-op-ui.conf
tke/ui/conf/contract-op-ui.conf
+3
-0
default.conf
tke/ui/conf/default.conf
+3
-0
di-ting-ui.conf
tke/ui/conf/di-ting-ui.conf
+3
-0
op-ui.conf
tke/ui/conf/op-ui.conf
+39
-0
No files found.
tke/ui/conf/contract-op-ui.conf
View file @
2354fe3f
...
@@ -10,6 +10,9 @@ server {
...
@@ -10,6 +10,9 @@ server {
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_vary
on
;
gzip_vary
on
;
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
location
/ {
location
/ {
expires
-
1
;
expires
-
1
;
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
...
...
tke/ui/conf/default.conf
View file @
2354fe3f
...
@@ -9,6 +9,9 @@ server {
...
@@ -9,6 +9,9 @@ server {
gzip_comp_level
4
;
gzip_comp_level
4
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_vary
on
;
gzip_vary
on
;
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
location
/ {
location
/ {
expires
-
1
;
expires
-
1
;
...
...
tke/ui/conf/di-ting-ui.conf
View file @
2354fe3f
...
@@ -10,6 +10,9 @@ server {
...
@@ -10,6 +10,9 @@ server {
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_types
text
/
plain
application
/
x
-
javascript
text
/
css
application
/
xml
application
/
javascript
;
gzip_vary
on
;
gzip_vary
on
;
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
location
/ {
location
/ {
expires
-
1
;
expires
-
1
;
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
...
...
tke/ui/conf/op-ui.conf
0 → 100644
View file @
2354fe3f
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
;
add_header
'Access-Control-Allow-Origin'
'*'
;
add_header
'Access-Control-Allow-Credentials'
'true'
;
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
/
micro
{
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
/ /
micro
.
html
;
}
}
\ 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