nginxsnippets/cache-js-css.conf
2025-08-08 12:25:26 +02:00

5 lines
100 B
Plaintext

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