Add ftp deploy

This commit is contained in:
2020-02-16 16:44:29 +01:00
parent a8dbc19968
commit 4de21c26bc
2 changed files with 12 additions and 0 deletions

10
.htaccess Normal file
View File

@ -0,0 +1,10 @@
Errordocument 404 /404.html
RewriteEngine On
## http -> https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
## www -> no-www
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]