gpt4 book ai didi

Apache 停止重定向到 https ://from http://

转载 作者:行者123 更新时间:2023-12-04 18:34:22 25 4
gpt4 key购买 nike

当我输入 http://localhost 时,我正在使用 Apache 和 passenger for rails 应用程序, 它会自动重定向到 https://localhost .我怎样才能阻止它

谢谢

最佳答案

要在没有命令的情况下禁用 SSL,您可以手动编辑 ssl 配置文件中的 SSLEngine 指令(通常在/etc/apache2/sites-enabled/default-ssl.conf 中)改变:

SSLEngine on

到:

SSLEngine off

重启 Apache

sudo service apache2 restart

来自:https://httpd.apache.org/docs/2.4/mod/mod_ssl.html

关于Apache 停止重定向到 https ://from http://,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30437183/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com