Add ftp deploy
This commit is contained in:
10
.htaccess
Normal file
10
.htaccess
Normal 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]
|
Reference in New Issue
Block a user