【问题标题】:How to blockall requests to /actuator aws如何阻止对 /actuator aws 的所有请求
【发布时间】:2021-09-02 09:31:18
【问题描述】:

我们有一个 springboot 应用程序在 aws elastic beanstalk 上作为单个实例运行(没有负载平衡器)。 问题是如何保护/阻止 /actuator 路径(只有管理员)可以访问它。

【问题讨论】:

  • 请编辑问题以将其限制为具有足够详细信息的特定问题,以确定适当的答案。

标签: amazon-web-services spring-boot spring-boot-actuator


【解决方案1】:

你不能没有负载平衡器。

使用 ALB,您可以配置一些设置来限制访问,但不能使用自定义身份验证。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-04-04
    • 2021-02-15
    • 2017-05-18
    • 1970-01-01
    • 2019-05-11
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多