Skip to content

Commit c2c86fa

Browse files
Updating properties
1 parent 3962f0d commit c2c86fa

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ I used the following at http://start.spring.io to create the Eureka Server appli
2323

2424
Next in the class BootDemoEurekaServerApplication, I needed to add the following annotation to the class:
2525

26+
```
2627
@EnableEurekaServer
28+
```
2729

2830
This enables a registry that other applications can talk to.
2931

src/main/resources/application.properties

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,9 @@ eureka.client.fetch-registry=false
66
logging.level.com.netflix.eureka=OFF
77
logging.level.com.netflix.discovery=OFF
88

9-
spring.application.name=eureka-server
9+
spring.application.name=eureka-server
10+
11+
spring.jackson.serialization.indent_output=true
12+
13+
management.endpoints.web.expose=*
14+
management.security.enabled=false

0 commit comments

Comments
 (0)