Unable to proxy over https with domain that points to localhost #876
Unanswered
TrevorBurnham
asked this question in
Q&A
Replies: 2 comments
-
Not sure what |
Beta Was this translation helpful? Give feedback.
0 replies
-
Facing the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checks
http-proxy-middleware
.Describe the bug (be clear and concise)
When running a local service over HTTPS, attempting to use a domain that resolves to
127.0.0.1
does not work.Step-by-step reproduction instructions
Expected behavior (be clear and concise)
Specifying the target with
127.0.0.1
instead of the domain causes the request to be proxied successfully:I would expect the behavior with the domain to be the same.
How is http-proxy-middleware used in your project?
What http-proxy-middleware configuration are you using?
What OS/version and node/version are you seeing the problem?
Additional context (optional)
I'd thought this might be related to #705, but I got the same behavior with both Node 14 and Node 18.
Beta Was this translation helpful? Give feedback.
All reactions