我有一个使用 SSL 的网站。www (注册 SSL 的子域)一切正常,但如果我尝试转到非 www 版本,它会说:
You attempted to reach mywebsite.com, but instead you actually reached a server identifying itself as *.heroku.com. This may be caused by a misconfiguration on the server or by something more serious. An attacker on your network could be trying to get you to visit a fake (and potentially harmful) version of mywebsite.com.
如何使非 www 与 ssl 一起工作,或者在尝试使用 SSL 之前确保非 www 重定向到正确的 www?