You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
result $ httphttp://127.0.0.1:9001/contact-us` HTTP/1.1 404 Not Found Content-Length: 19 Content-Type: text/plain; charset=utf-8 Date: Sat, 06 Feb 2021 17:34:20 GMT X-Content-Type-Options: nosniff 404 page not found
The text was updated successfully, but these errors were encountered:
Hi Mark,
Many thanks for your wonderful go proxy. I am very very new noobie. Please forgive my silly questions.
i am not able add one of my own upstream
Upstreams
// HTTPBin is used for testing
var Alice = &Upstream{
Name: "alice",
Host: "example.com",
}
configurations
Config{
Path: "/contact-us",
Upstream: upstreams.Alice,
}
route
/contact-us
result
$ http
http://127.0.0.1:9001/contact-us`HTTP/1.1 404 Not Found
Content-Length: 19
Content-Type: text/plain; charset=utf-8
Date: Sat, 06 Feb 2021 17:34:20 GMT
X-Content-Type-Options: nosniff
404 page not found
The text was updated successfully, but these errors were encountered: