Skip to content
Snippets Groups Projects
Commit e8690c2f authored by Julian Horner's avatar Julian Horner
Browse files

Improve comments in application.yml

parent f74f34ac
No related branches found
No related tags found
No related merge requests found
# Spring properties
spring: spring:
application: application:
name: api-gateway # Identify this application name: api-gateway # Identifier of this application
# HTTP Server
server: server:
port: 2222 # HTTP (Tomcat) port port: 2222
# Discovery Server Access
# 1. DEV ONLY: Reduce the lease renewal interval to speed up registration
# 2. Define URL of registration server (defaultZone)
eureka: eureka:
client: client:
serviceUrl: serviceUrl:
defaultZone: http://localhost:8761/eureka/ defaultZone: http://localhost:8761/eureka/
# URL of the eureka server necessary for client registration
zuul: zuul:
ignoredPatterns: /login/** ignoredPatterns: /login/** # The login path is served by the api-gateway directly
ignored-services: "*" ignored-services: "*"
routes: routes: # Forwardings of requests
dummy-service: dummy-service:
path: /** # The part that has to be appended if a specific call is made path: /**
service-id: dummy-service service-id: dummy-service
auth-service: auth-service:
path: /auth/** path: /auth/**
service-id: auth-service service-id: auth-service
strip-prefix: false strip-prefix: false # Forward the request all together with the auth path
sensitive-headers: Cookie,Set-Cookie sensitive-headers: Cookie, Set-Cookie # Avoid to send cookies to external entities
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment