-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
The proxy feature does not work when using HTTPS. #719
Comments
It looks like the issue is that http-proxy does not allow self signed certificates: |
^ Oh no, so just setting |
I have created a PR here #720 I think there's a question of whether you want that proxy SSL verification to always be false, or you want to make that available as an option. |
Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.
Full repro here:
https://github.com/dwjohnston/http-server-issue/tree/master
I start a server with
What did you expect to happen?
I should be able to access index.html at
https://localhost:8080/foobar
Instead, I get a 404.
Tell us about your environment
http-server 13.0.0
node 10.23.0
node 14.17.0
The text was updated successfully, but these errors were encountered: