由于某种原因,这给了我一个无限的重定向循环。Here is what I see on my console when I go to the website。我认为这与最后的服务器模块有关。它用于检查主机是否等于stringapi.net,然后将您重定向到https。 任何帮助都将不胜感激!出自一位困惑的17岁少年。files in order to fully unleash the power of Nginx.
# https://www.nginx.com&
我在我的网站上遇到了无限重定向的问题。Nginx成功地从http重定向到https,但在那之后,由于某种原因,它做了相反的事情,导致了无限循环。我的配置有什么问题?# Add index.php to the list if you are using PHP }
#deny access to .ht
如果最新的Firefox通过智能手机使用该站点,则会导致重定向错误。其他一些浏览器可能工作,但不可靠。我尝试删除浏览器缓存并重新启动/重新加载nginx服务器。NGINX-config中有错误吗?当我用certbot更新SSL证书时,第一次出现了问题。谢谢!} # deny access to .htaccess files, if Apache's document root
# concurs with nginx's; # ma