Posted in Servers onMarch 09, 2021
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443 [NC]
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [L,R=301]
Apache站点配置SSL强制跳转443
声明:登载此文出于传递更多信息之目的,并不意味着赞同其观点或证实其描述。
Tags in this post...
Reply on: @reply_date@
@reply_contents@