mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-05 12:22:09 +07:00
Cache fonts
This commit is contained in:
@@ -140,7 +140,7 @@ server {
|
|||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~* \.(txt|js|css|png|jpe?g|gif|ico|svg)$ {
|
location ~* \.(txt|js|css|png|jpe?g|gif|ico|svg|(o|t)tf|woff2?|eot)$ {
|
||||||
expires 30d;
|
expires 30d;
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user