# Optional Apache rules: test for your hosting configuration before deploying
RewriteEngine On
RewriteCond %{HTTPS} !=on [OR]
RewriteCond %{HTTP_HOST} ^www\.go-stake\.com$ [NC]
RewriteRule ^ https://go-stake.com%{REQUEST_URI} [R=301,L]
# Avoid looping when rewriting DirectoryIndex paths; verify server-specific rules for exposed index.html canonicalization.
