forked from gitbot/uguu
Update X.Y.conf
This commit is contained in:
parent
264033d188
commit
e9d9f73c92
@ -16,17 +16,8 @@ access_log off;
|
|||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
|
|
||||||
location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ {
|
location ~* \.(?:css|js|jpg|jpeg|gif|png|ico|xml|eot|woff|woff2|ttf|svg|otf)$ {
|
||||||
|
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
|
||||||
add_header Cache-Control "no-cache, public, must-revalidate, proxy-revalidate";
|
}
|
||||||
|
|
||||||
# allow CORS requests
|
|
||||||
add_header Access-Control-Allow-Origin *;
|
|
||||||
types {font/opentype otf;}
|
|
||||||
types {application/vnd.ms-fontobject eot;}
|
|
||||||
types {font/truetype ttf;}
|
|
||||||
types {application/font-woff woff;}
|
|
||||||
types {font/x-woff woff2;}
|
|
||||||
}
|
|
||||||
|
|
||||||
gzip on;
|
gzip on;
|
||||||
gzip_min_length 1000;
|
gzip_min_length 1000;
|
||||||
|
Loading…
Reference in New Issue
Block a user