docs: old site redirect; force https

This commit is contained in:
jean-emmanuel 2019-03-28 14:04:48 +01:00
parent 6b261eabd6
commit ba4345795f

View file

@ -1,4 +1,11 @@
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} osc\.ammd\.com$ [NC]
RewriteRule ^(.*)$ https://openstagecontrol.ammd.net/ [L,R=301]
RewriteRule ^extras/(.*)$ docs/$1 [QSA,L,R=301]
RewriteRule ^docs/$ docs/getting-started [QSA,L]
RewriteCond %{HTTPS} !on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]