-
-
Save fzankl/703076253873199abfd264119578a108 to your computer and use it in GitHub Desktop.
YARP - Configuration via appsettings.json
This file contains 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
{ | |
"Logging": { | |
"LogLevel": { | |
"Default": "Information", | |
"Microsoft": "Warning", | |
"Microsoft.Hosting.Lifetime": "Information" | |
} | |
}, | |
"AllowedHosts": "*", | |
"ReverseProxy": { | |
"Routes": { | |
"route1": { | |
"ClusterId": "cluster1", | |
"Match": { | |
"Path": "{**catch-all}" | |
} | |
} | |
}, | |
"Clusters": { | |
"cluster1": { | |
"Destinations": { | |
"cluster1/destination1": { | |
"Address": "https://localhost:5001/" | |
}, | |
"cluster1/destination2": { | |
"Address": "https://localhost:5002/" | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment