Nginx配置微服务避免actuator暴露

Nginx配置微服务避免actuator暴露_第1张图片 

 微服务一般在扫漏洞的情况下,需要屏蔽actuator健康检查

        # 避免actuator暴露
        if ($request_uri ~ "/actuator") {
            return 403;
        }

你可能感兴趣的:(java,前端,开发语言)