leilukin-site/.htaccess

5 lines
152 B
ApacheConf
Raw Normal View History

ErrorDocument 404 /404.html
<FilesMatch "\.(ico|svg|avif|jpg|png|gif|js|css|woff2)$">
Header set Cache-Control "max-age=31536000, public"
</FilesMatch>