Merge branch 'hotfix/1.9.3'
This commit is contained in:
commit
c9f464c931
1 changed files with 14 additions and 0 deletions
|
|
@ -55,6 +55,20 @@ server {
|
||||||
index index.html;
|
index index.html;
|
||||||
expires -1;
|
expires -1;
|
||||||
|
|
||||||
|
# Media: images, icons, video, audio, HTC
|
||||||
|
location ~* \.(?:jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|mp3|ogg|ogv|webm|htc|woff2|woff|ttf)$ {
|
||||||
|
expires 1M;
|
||||||
|
access_log off;
|
||||||
|
# max-age must be in seconds
|
||||||
|
add_header Cache-Control "max-age=2629746, public";
|
||||||
|
}
|
||||||
|
# CSS and Javascript
|
||||||
|
location ~* \.(?:css|js)$ {
|
||||||
|
expires 1y;
|
||||||
|
access_log off;
|
||||||
|
add_header Cache-Control "max-age=31556952, public";
|
||||||
|
}
|
||||||
|
|
||||||
ssi on;
|
ssi on;
|
||||||
set $flUrl "${LKRP_FL_URL}";
|
set $flUrl "${LKRP_FL_URL}";
|
||||||
set $flLandingUrl "${LKRP_FL_LANDING}";
|
set $flLandingUrl "${LKRP_FL_LANDING}";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue