nginx-install/nginxsnippets/cache-js-css.conf
2024-10-24 12:49:01 +02:00

5 lines
100 B
Plaintext

location ~* ^.+\.(css|js)$ {
expires 1y;
add_header Cache-Control "max-age=31600000, public";
}