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
7dc44176
Commit
7dc44176
authored
Oct 25, 2019
by
xuezj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端静态资源增加缓存时间
parent
90256e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
default.conf
tke/ui/conf/default.conf
+4
-1
No files found.
tke/ui/conf/default.conf
View file @
7dc44176
...
@@ -11,7 +11,10 @@ server {
...
@@ -11,7 +11,10 @@ server {
gzip_vary
on
;
gzip_vary
on
;
location
/ {
location
/ {
expires
-
1
;
#expires -1;
if
($
request_filename
~ \.(
css
|
js
|
png
|
gif
|
jpg
|
jpeg
|
bmp
|
ico
)$) {
expires
30
d
;
}
set_by_lua
$
rootPath
'
set_by_lua
$
rootPath
'
local
pre
=
"/home/quant_group/"
;
local
pre
=
"/home/quant_group/"
;
local
sys
=
os
.
getenv
(
"SYSTEM_NAME"
);
local
sys
=
os
.
getenv
(
"SYSTEM_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