application_server.properties 732 B

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