I think you can make use of this block
Thats how i do


location ~* \.(?:ico|css|js|gif|jpe?g|png|woff2)$ {
    expires 30d;
    add_header Pragma public;
    add_header Cache-Control "public";
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to