Skip to content

Instantly share code, notes, and snippets.

@OmarElgabry
Last active June 10, 2018 17:05
Show Gist options
  • Select an option

  • Save OmarElgabry/8b725a366f2f1c10eedd4679487d4dad to your computer and use it in GitHub Desktop.

Select an option

Save OmarElgabry/8b725a366f2f1c10eedd4679487d4dad to your computer and use it in GitHub Desktop.
Gateway Configuration
server.port=8762
spring.application.name=zuul-server
eureka.client.service-url.default-zone=http://localhost:8761/eureka/
# A prefix that can added to beginning of all requests.
#zuul.prefix=/api
# Disable accessing services using service name (i.e. gallery-service).
# They should be only accessed through the path defined below.
zuul.ignored-services=*
# Map paths to services
zuul.routes.gallery-service.path=/gallery/**
zuul.routes.gallery-service.service-id=gallery-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment