shenyu
shenyu copied to clipboard
[Question] How can we configure it to isolate requests from accessing these internal interfaces of shenyu-bootstrap?
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 in shenyu bootstrap , you can config the internal interface like this :
- you can write a api start with /shenyu , such as /shenyu/detail
- you can config health path in yaml , shenyu.health.paths
shenyu:
health:
enabled: true
paths:
- /actuator
- /health_check