Path based routing #4211
Closed
MinitorMHS
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I came across with how can I have multiple services on a same domain but splited with paths , like when I use
domain.com/
it should rout to127.0.0.1:111
but when I usedomain.com/test
it should rout to127.0.0.1:222
or also127.0.0.1:222/example
All these configurations must be in advanced section
So you can see 3 examples that how I did this:
Example 1:
If you want to just use an IP and port (without path) like
127.0.0.1:222
you do :_Note: Only the first 2 lines are essential. The rest can be removed or customized. _
Example 2:
If you want to rout
domain/test
to127.0.0.1:222/example
. Then you need to do this :Note: Only the first 2 lines are essential. The rest can be removed or customized.
Example 3:
If you want to use
domain.com/test
and rout it to127.0.0.1:222/test
you can do:Note: Only the first 2 lines are essential. The rest can be removed or customized.
Important Note:
Please note that all domains, paths, IPs, and ports in these examples are for demonstration purposes only. You should modify them to suit your specific needs.
Beta Was this translation helpful? Give feedback.
All reactions