12345678910111213141516171819 |
- server.port=11000
- management.endpoints.web.exposure.include=bus-refresh
- #主机名
- eureka.instance.hostname=eureka
- #是否注册自己
- eureka.client.register-with-eureka=false
- eureka.client.fetch-registry=false
- eureka.client.service-url.defaultZone=http://${spring.security.user.name}:${spring.security.user.password}@${eureka.instance.hostname}:${server.port}/eureka/
- #eureka.client.service-url.defaultZone=http://${eureka.instance.hostname}:${server.port}/eureka/
- #自我保护模式
- eureka.server.enable-self-preservation=false
- spring.application.name=eureka-server
- #eureka注册中心设置用户密码
- spring.security.basic.enabled=true
- spring.security.user.name=liangjian
- spring.security.user.password=360lj.comOauth2passwd
|