首頁 > 問答 > 主體
如何讓我的一個域名支持Http & Https 協議,都是用同一個目錄?
Http
Https
天蓬老师2017-04-21 11:18:29
雷雷
怪我咯2017-04-21 11:18:29
是不是這樣。我也沒試過,看了下我在用的配置。
ServerName example.com:443 DocumentRoot /var/www/html ... SSL相關部分 ... ServerName example.com:80 DocumentRoot /var/www/html ... 其他apache配置 ...