Skip to content

Instantly share code, notes, and snippets.

@chathurangat
Last active April 11, 2022 21:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chathurangat/b50d9fce6e3cebf6527be6444e7e8a4f to your computer and use it in GitHub Desktop.
Save chathurangat/b50d9fce6e3cebf6527be6444e7e8a4f to your computer and use it in GitHub Desktop.
server.port = 7070
# zuul route mapping for the student-service
zuul.routes.website-name.url = http://localhost:8081/name
zuul.routes.students.path = /students/*
zuul.routes.students.url = http://localhost:8081/students
zuul.routes.students-courses.path = /courses/*/students
zuul.routes.students-courses.url = http://localhost:8081/courses
zuul.routes.department-courses-students.path = /departments/*/courses/*/students
zuul.routes.department-courses-students.url = http://localhost:8081/departments
# zuul route mapping for the course-service
zuul.routes.courses.url = http://localhost:8082/courses
@pbouterige
Copy link

pbouterige commented Apr 11, 2022

ok.
Usefull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment