我一直在尝试通过将以下行添加到文件中来将 Web 流量从HTTP重定向到HTTPShttpd.conf:
Redirect permanent / https://100.100.100.100
Run Code Online (Sandbox Code Playgroud)
但无济于事。浏览器响应是Firefox has detected that the server is redirecting the request for this address in a way that will never complete。
我知道它适用于域名,但我的服务器不使用域名。有什么办法可以解决这个问题/我做错了什么。