thinkgem / jeesite

Java rapid development platform, based (Spring Boot, Spring MVC, Apache Shiro, MyBatis, Beetl, Bootstrap, AdminLTE), online code generation, including modules: Organization, role users, menu and button authorization, data permissions, system parameters, content management, workflow, etc. Loose coupling design is adopted; one key skin switch; account security Settings, password policies; Online scheduled task configuration; Support cluster, support SAAS; Support for multiple data sources

Home Page:http://jeesite.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

关于SLB的健康检查

lovese opened this issue · comments

您好,我把jeesite放在tomcat里运行,两台服务器做负载均衡,负载均衡器SLB是通过HEAD方法获取状态码来检测后端服务器是否正常的,但是请求jeesite项目里的文件时都是返回400状态码,无法完成SLB的健康检查,且jeesite项目外的文件也被限制访问不了,请问这种情况怎么解决?

请求路径不对才出现的400吧。。

我这遇到的400,一般是请求参数有问题

健康检查的地址一般设置静态地址,我都是返回400

正常访问ok吗?

静态地址正常访问

能正常访问,但是获取状态码是400

在日志拦截器里,跟踪下,请求实际请求的地址,我觉得还是配置的问题。。。

怎么才能请求到实际的地址呢?