Skip to content

Commit 821b6ae

Browse files
authored
Always use HTTPS
(Closes #621)
1 parent 5549fcb commit 821b6ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

html/.htaccess

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
RewriteEngine On
2+
RewriteCond %{HTTPS} off
3+
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=permanent,L]
4+
15
Redirect 301 /language/5to6 https://doc.perl6.org/language/5to6-nutshell
26
ErrorDocument 404 /404.html

0 commit comments

Comments
 (0)