File tree 4 files changed +4
-8
lines changed
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ location / {
117
117
}
118
118
119
119
## All static files will be served directly.
120
- location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff |svg)$ {
120
+ location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff2? |svg)$ {
121
121
122
122
access_log off ;
123
123
expires 30d ;
@@ -344,4 +344,3 @@ location @empty {
344
344
location ~* ^.+\.php$ {
345
345
return 404 ;
346
346
}
347
-
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ location / {
116
116
}
117
117
118
118
## All static files will be served directly.
119
- location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff |svg)$ {
119
+ location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff2? |svg)$ {
120
120
access_log off ;
121
121
expires 30d ;
122
122
## No need to bleed constant updates. Send the all shebang in one
@@ -374,4 +374,3 @@ location = /boost_stats.php {
374
374
## comment out the above.
375
375
#proxy_pass http://phpapache;
376
376
}
377
-
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ location / {
119
119
}
120
120
121
121
## All static files will be served directly.
122
- location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff |svg)$ {
122
+ location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff2? |svg)$ {
123
123
access_log off ;
124
124
expires 30d ;
125
125
## No need to bleed constant updates. Send the all shebang in one
@@ -379,4 +379,3 @@ location = /boost_stats.php {
379
379
#proxy_pass http://phpapache;
380
380
#proxy_set_header Connection '';
381
381
}
382
-
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ location / {
120
120
}
121
121
122
122
## All static files will be served directly.
123
- location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff |svg)$ {
123
+ location ~* ^.+\.(?:css|cur|js|jpe?g|gif|htc|ico|png|html|xml|otf|ttf|eot|woff2? |svg)$ {
124
124
access_log off ;
125
125
expires 30d ;
126
126
## No need to bleed constant updates. Send the all shebang in one
@@ -344,4 +344,3 @@ location @empty {
344
344
location ~* ^.+\.php$ {
345
345
return 404 ;
346
346
}
347
-
You can’t perform that action at this time.
0 commit comments