diff options
Diffstat (limited to 'web/homepage/nginx.nix')
-rw-r--r-- | web/homepage/nginx.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/homepage/nginx.nix b/web/homepage/nginx.nix index 100c0cc9ee3a..89804574477d 100644 --- a/web/homepage/nginx.nix +++ b/web/homepage/nginx.nix @@ -49,6 +49,10 @@ let ${oldRedirects} + location ~* \.(webp|woff2)$ { + add_header Cache-Control "public, max-age=31536000"; + } + location /blog { alias ${blog.rendered}; |