From b8f234bd9531562b5d46ddee5ed5cb1ef7ca81b3 Mon Sep 17 00:00:00 2001 From: Mathijs Date: Sun, 15 Jan 2023 16:43:44 +0100 Subject: [PATCH] Toegevoegd: .htacces --- .htaccess | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..b3ad155 --- /dev/null +++ b/.htaccess @@ -0,0 +1,23 @@ +ErrorDocument 404 /404.html +SetEnv TZ Europe/Amsterdam +Header set Strict-Transport-Security "max-age=31536000" env=HTTPS +Options All -Indexes + + + # Turn on the module. + ExpiresActive on + # Set the default expiry times. + ExpiresDefault "access plus 2 days" + ExpiresByType image/jpg "access plus 1 month" + ExpiresByType image/svg+xml "access 1 month" + ExpiresByType image/gif "access plus 1 month" + ExpiresByType image/jpeg "access plus 1 month" + ExpiresByType image/png "access plus 1 month" + ExpiresByType text/css "access plus 1 month" + ExpiresByType text/javascript "access plus 1 month" + ExpiresByType application/javascript "access plus 1 month" + ExpiresByType application/x-shockwave-flash "access plus 1 month" + ExpiresByType image/ico "access plus 1 month" + ExpiresByType image/x-icon "access plus 1 month" + ExpiresByType text/html "access plus 600 seconds" + \ No newline at end of file