-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🤗 How can I DO reverseproxy http(other server) to https(gofiber)? #1762
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
@koreaidi0t |
Yes. When I make target server https, it works sucessfully as I expect. Thanks for comment! |
ok, you(@koreaidi0t ) opened it again ? |
@ReneWerner87 Yes there is still problem. I'd like to forward HTTP server via HTTPS gofiber server. I don't want the target server to use HTTPS. Thanks for your effort! |
have you tried this from the readme ? |
Yes. I tried, but it doesn't work. |
My guess is that the proxy middleware is doing https to the http target. |
fiber/middleware/proxy/proxy.go Line 123 in 7b7dcf2
|
@bigflood |
It doesn't seem possible. |
Maybe, you can implement your own version of |
@bigflood BTW thanks for your comments! |
@ReneWerner87 |
Sure |
Question description
How can DO reverseproxy?
When running this code, I got following error.
panic: tls: first record does not look like a TLS handshake
Thanks for reading.
The text was updated successfully, but these errors were encountered: