我该如何解决这个nginx的错误“redirect了太多次”
我的服务器的nginxconfiguration是这样的,然后有一个kibana服务在我的服务器端口是17601.当我访问ip:17601时,它返回“xxxxredirect你太多次”。 ,我如何解决它? 非常感谢您的帮助 ! upstream docker { server 1.1.1.1:8080; } server { listen 80; server_name xx.xxx.com; location ^~ /api/ { if ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' '*'; add_header 'Access-Control-Allow-Methods' 'GET, POST, OPTIONS'; # # Custom headers and headers various browsers *should* be OK with but aren't # add_header 'Access-Control-Allow-Headers' 'DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Access-Token'; # # Tell client […]