-
Im trying to connect my server to my domain using yarp. This is how i current use nginx(i would like to swap to yarp) if somonencould convertert this that would be cool. I have tried and failed fornmany hours tonight
|
Beta Was this translation helpful? Give feedback.
Answered by
karelz
Feb 14, 2023
Replies: 2 comments 7 replies
-
Try this: {
// Base URLs the server listens on, must be configured independently of the routes below
"Urls": "http://example.com:80;https://example.com:443",
"ReverseProxy": {
"Routes": {
"route1" : {
"ClusterId": "cluster1",
"Match": {
"Path": "{**catch-all}",
},
}
},
"Clusters": {
"cluster1": {
"Destinations": {
"cluster1/destination1": {
"Address": "http://localhost:5000/"
}
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
7 replies
-
Triage: We should have proper migration docs from NGinx to YARP. They are useful. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
karelz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Triage: We should have proper migration docs from NGinx to YARP. They are useful.
Filed tracking issue #2037