Skip to content
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

option to ignore self singed cert on the backend side #61

Open
psalty opened this issue Oct 2, 2021 · 0 comments
Open

option to ignore self singed cert on the backend side #61

psalty opened this issue Oct 2, 2021 · 0 comments

Comments

@psalty
Copy link

psalty commented Oct 2, 2021

This is awesome. Thanks for the code sharing.

it would be nice to have an option to ignore self-signed cert on the backend side.

httpProxy.Transport = &ConnectionErrorHandler{http.DefaultTransport}

to something like

httpProxy.Transport = &ConnectionErrorHandler{&http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant