mirror of
https://github.com/elyby/accounts.git
synced 2024-12-02 03:31:05 +05:30
Nginx woff2 as static file
This commit is contained in:
parent
d4285f9fd1
commit
f76221c41c
@ -56,7 +56,7 @@ server {
|
||||
}
|
||||
|
||||
# Раздача статики для frontend с указанием max-кэша. Сброс будет по #hash после ребилда webpackом
|
||||
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|json|css|zip|rar|eot|ttf|woff|ico)$ {
|
||||
location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|json|css|zip|rar|eot|ttf|woff|woff2|ico)$ {
|
||||
root $frontend_path;
|
||||
expires max;
|
||||
etag off;
|
||||
|
Loading…
Reference in New Issue
Block a user