修改/etc/httpd/conf/httpd.conf
<Directory />
Options FollowSymLinks AllowOverride All RewriteEngine on RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^(.*)?$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] </Directory>
转载请注明原文地址: https://www.6miu.com/read-1600382.html