diff --git a/deploy/.htaccess b/deploy/.htaccess index f6d298f..5256d77 100644 --- a/deploy/.htaccess +++ b/deploy/.htaccess @@ -15,14 +15,14 @@ Header set Content-Security-Policy "default-src 'none'; font-src 'self'; img-src Header always set Referrer-Policy "same-origin" # Error document -ErrorDocument 404 /404.html +# ErrorDocument 404 /404.html # Redirect http -> https RewriteCond %{HTTP:X-HTTPS-SESSION} !^yes$ RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,QSA] # Block requests not for divd.club -RewriteCond %{HTTP_HOST} !^www.divd.nl +RewriteCond %{HTTP_HOST} !^www.divd.club RewriteRule (.*) - [r=404] # Handle requests to directories without trailing slash