Added .htaccess for Uberspace

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-12-27 19:47:03 +01:00
parent c77963e2f9
commit b645c45c80
2 changed files with 7 additions and 0 deletions

6
.htaccess Normal file
View File

@ -0,0 +1,6 @@
RewriteEngine On
RewriteCond %{HTTP_HOST} ^jim\.2martens\.de [NC]
RewriteRule ^(.*)$ https://2martens.de/$1 [L,R=301]
ErrorDocument 404 /404.html

View File

@ -33,6 +33,7 @@ defaults:
# Build settings
markdown: kramdown
include: .htaccess
exclude:
- scripts
- README.md