# Atomaste Static Site
Options -Indexes
# Redirect old broken URLs to homepage
RedirectMatch 301 ^/custom-telescope-mirror-support.*$ /
RedirectMatch 301 ^/product.*$ /
RedirectMatch 301 ^/shop.*$ /
# Redirect to index.html as default
DirectoryIndex index.html
# Enable GZIP compression
AddOutputFilterByType DEFLATE text/html text/css application/javascript image/svg+xml
# Cache static assets
ExpiresActive On
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
# Security Headers
Header set X-Content-Type-Options "nosniff"
Header set X-Frame-Options "SAMEORIGIN"
Header set Referrer-Policy "strict-origin-when-cross-origin"