RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{REQUEST_URI} !^/v1/
RewriteRule ^(.*)$ https://yuhanshang.com/v1/$1 [L,R=301]

