diff --git a/src/.htaccess b/src/.htaccess index 417af5a..566cddc 100644 --- a/src/.htaccess +++ b/src/.htaccess @@ -1,12 +1,16 @@ # Prevent viewing of htaccess file. - order allow,deny - deny from all + + Order Allow,Deny + Deny from all + # Prevent directory listings Options All -Indexes ErrorDocument 404 /404.html -RewriteEngine On -RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR] -RewriteCond %{HTTP_HOST} ^astrolabe\.coop [NC] -RewriteRule ^ https://www.astrolabe.coop%{REQUEST_URI} [L,NE,R=301] + + RewriteEngine On + RewriteCond %{HTTP:X-Forwarded-Proto} !https [OR] + RewriteCond %{HTTP_HOST} ^astrolabe\.coop [NC] + RewriteRule ^ https://www.astrolabe.coop%{REQUEST_URI} [L,NE,R=301] + diff --git a/src/_includes/layouts/member.njk b/src/_includes/layouts/member.njk index 2f19950..745d183 100644 --- a/src/_includes/layouts/member.njk +++ b/src/_includes/layouts/member.njk @@ -21,6 +21,7 @@

{% endif %}