Add ErrorDocument settings

This commit is contained in:
Helen Chong 2024-07-28 20:16:16 +08:00
parent a05f357e4b
commit 419cd232e1
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
permalink: .htaccess
eleventyExcludeFromCollections: true
---
ErrorDocument 404 /404.html
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
Header set Cache-Control "max-age=31536000, public"