-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Would be nice to have any logging. I'm trying to pass unrecognized routes to the legacy backend, and so far it only spits out 502 and never tries to hit that backend:
forward "/", ReverseProxy, upstream: ["localhost:3000"]
Also, if I pass upstream with scheme, as "http://localhost:3000", it throws:
** (exit) an exception was raised:
** (ArgumentError) argument error
:erlang.list_to_integer([])
(hackney) /Users/youroff/projects/autocloud/auto_cloud/deps/hackney/src/hackney_url.erl:204: :hackney_url.parse_netloc/2
(hackney) /Users/youroff/projects/autocloud/auto_cloud/deps/hackney/src/hackney.erl:331: :hackney.request/5
(httpoison) lib/httpoison/base.ex:432: HTTPoison.Base.request/9
lib/reverse_proxy/runner.ex:24: ReverseProxy.Runner.retreive/3
Any ideas how to fix this?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels