三三@xp.cn2020-06-17 14:05:57
RewriteRule ^(.*) https://%{SERVER_NAME}$1 [L,R]
apache是这个,面板里勾选强制 https 自动就实现了
三三@xp.cn2020-06-17 12:45:21
rewrite ^(.*)$ https://$host$1 permanent;
可否是这个规则?
RedirectMatch permanent ^/(.*) https://elite.elite8858.com$1是这个吗