+ webp octobercms support
This commit is contained in:
@ -1,5 +1,17 @@
|
||||
#rewrite "^(.*)\.(\d{10})\.(css|js)$" $1.$3 break;
|
||||
location ~* \.(jpg|jpeg|gif|png|svg|ico)$ {
|
||||
location ~* \.(gif|svg|ico)$ {
|
||||
access_log off;
|
||||
expires max;
|
||||
log_not_found off;
|
||||
error_page 404 = /empty;
|
||||
}
|
||||
location ~* \.jpge?g$ {
|
||||
access_log off;
|
||||
expires max;
|
||||
log_not_found off;
|
||||
error_page 404 = /empty;
|
||||
}
|
||||
location ~* \.png$ {
|
||||
access_log off;
|
||||
expires max;
|
||||
log_not_found off;
|
||||
|
Reference in New Issue
Block a user