Created
June 10, 2018 19:11
-
-
Save OmarElgabry/4590bdf5dd5651dd27bbbb9c267bdef7 to your computer and use it in GitHub Desktop.
Gateway Configurations
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Map path to auth service | |
| zuul.routes.auth-service.path=/auth/** | |
| zuul.routes.auth-service.service-id=AUTH-SERVICE | |
| # By default, all requests to gallery service for example will start with: "/gallery/" | |
| # What will be sent to the gallery service is what comes after the path defined, | |
| # So, if request is "/gallery/view/1", gallery service will get "/view/1". | |
| # In case of auth, we need to pass the "/auth/" in the path to auth service. So, set strip-prefix to false | |
| zuul.routes.auth-service.strip-prefix=false | |
| # Exclude authorization from sensitive headers | |
| zuul.routes.auth-service.sensitive-headers=Cookie,Set-Cookie |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment