You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I should be able to access index.html at https://localhost:8080/foobar
Instead, I get a 404.
$ http-server --proxy https://localhost:8080? ./lib -S -C localhost.crt -K localhost.key -p 8080
Starting up http-server, serving ./lib through https
Available on:
https://127.0.0.1:8080
https://192.168.1.105:8080
Unhandled requests will be served from: https://localhost:8080?
Hit CTRL-C to stop the server
[2021-08-16T02:33:27.616Z] "GET /foobar" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"
(node:33863) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
[2021-08-16T02:33:27.636Z] "GET /foobar" Error (404): "self signed certificate"
[2021-08-16T02:33:27.636Z] "GET /foobar" Error (404): "Not found"
[2021-08-16T02:33:27.637Z] "GET /foobar" Error (404): "Not found"
[2021-08-16T02:33:28.568Z] "GET /foobar" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"
[2021-08-16T02:33:28.573Z] "GET /foobar" Error (404): "self signed certificate"
[2021-08-16T02:33:28.573Z] "GET /foobar" Error (404): "Not found"
[2021-08-16T02:33:28.573Z] "GET /foobar" Error (404): "Not found"
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:
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: