我在spring boot应用程序中安装了Eureka,并且Eureka内置了一个简洁的web用户界面,我喜欢它
这是我在application.yml中的配置
server:
port: 8081
management:
context_path: /admin
## EUREKA CONFIG ##
eureka:
instance:
hostname: localhost
metadataMap:
instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}
client:
registerWithEureka: true
fetchRegistry: true
server:
waitTimeInMsWhenSyncEmpty: 0
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/ 但是,web用户界面显示在我的eureka服务器上:
http://localhost:8081/是否有办法将web用户界面的url仅更改为类似于
http://localhost:8081/eurekawebui谢谢
发布于 2015-05-23 06:41:30
您可以设置eureka.dashboard.path=/eurekawebui。默认为/。
https://stackoverflow.com/questions/30200988
复制相似问题