server:
port: 8761
spring:
application:
name: eureka
config:
import: optional:configserver:${CONFIG_SERVER_URL:http://localhost:8888/}
eureka:
client:
registerWithEureka: false
fetchRegistry: false
service-url:
defaultZone: ${EUREKA_URI:http://localhost:8761/eureka/}
instance:
hostname: localhost
preferIpAddress: true
server:
waitTimeInMsWhenSyncEmpty: 0
management:
endpoints:
web:
exposure:
include: "*"
Sorry, I'm using a translator.
Even though service-url: defaultZone: ${EUREKA URI:http://localhost:8761/eureka/} is set When connected to localhost:8761/ the dashboard will load.
Can you tell me why I see a white label when connecting to localhost:8761/eureka/?
Comment From: DongJu-Na
My code repository is here it is.
https://github.com/DongJu-Na/spring-cloud-sample
Comment From: OlgaMaciaszek
Hello, @DongJu-Na - the sample you've provided contains multiple modules. Please provide a minimal sample - only with the code necessary to reproduce the issue.
Comment From: DongJu-Na
@OlgaMaciaszek
What I'm curious about is
in yml
eureka.client.serviceurl.defaultZone
I'm curious what role that setting plays.
If you just answer this, I think this issue can be concluded!!
Thank you in advance.
Comment From: OlgaMaciaszek
As you can see in the docs, "In the preceding example, defaultZone is a magic string fallback value that provides the service URL for any client that does not express a preference (in other words, it is a useful default)." .
Comment From: DongJu-Na
Thank you and I will close this issue. have a good day :)