Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] How can we configure it to isolate requests from accessing these internal interfaces of shenyu-bootstrap? #5581

Open
chaclus opened this issue Jun 19, 2024 · 1 comment
Labels
type: question Further information is requested

Comments

@chaclus
Copy link

chaclus commented Jun 19, 2024

Question

As the entry point for traffic following load balancing, the Shenyu gateway directs all subdomains directly to shenyu-bootstrap. However, some API interfaces in shenyu-bootstrap are unauthenticated and can be accessed directly via domain + URI, such as /actuator, /actuator/env, etc. How can we configure it to isolate requests from accessing these internal interfaces of shenyu-bootstrap?

@chaclus chaclus added the type: question Further information is requested label Jun 19, 2024
@hql0312
Copy link
Contributor

hql0312 commented Jul 2, 2024

@chaclus
in shenyu bootstrap , you can config the internal interface like this :

  1. you can write a api start with /shenyu , such as /shenyu/detail
  2. you can config health path in yaml , shenyu.health.paths
shenyu: 
  health:
    enabled: true
    paths:
      - /actuator
      - /health_check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants