http-server
http-server copied to clipboard
a simple zero-configuration command-line http server
Dockerization of http-server ##### Relevant issues Closes #724 ##### Contributor checklist - [ ] Provide tests for the changes (unless documentation-only) - [x] Documented any new features, CLI switches, etc....
Some directories are not listed; This is an ls of my audiobooks folder: ``` 'A History of India (ttc) ^ Michael Fisher ^ compressed audio' 'Daniel W. Drezner - Foundations...
Feature Request Could there be a method to add a server side LRU cache to improve performance by serving highly accessed files directly from memory after initial load?
Use `corser`'s `origins` option to handle the `access-control-allow-origin` header. Passing a true function will make `corser` mirror the Origin header like we want. I was not able to run the...
Hello! I don't see an option for excluding files that we don't want to serve. Am I missing something?
Built project into a folder `/dist/ui/` cd into `/build` run command: http-server -p 9000 --cors='*' --proxy http://localhost:9000/ui? I was able to see the app running by navigating to http://localhost:9000/ui. I...
Taking inspiration from https://github.com/http-party/http-server/pull/637 and attempting to address the changes requested from the PR review Adding a handler for an "upgrade" request so that the proxy properly manages the connection...
#### What's the problem this feature will solve? See [this doc](https://web.dev/cors-rfc1918-feedback/). Eventually public websites that hit local addresses will require the server to respond to a pre-flight request for the...
**Please ensure that your pull request fulfills these requirements:** - [x] The pull request is being made against the `master` branch - [x] Tests for the changes have been added...
Hi, I would like to know how can I redirect all my http requests to https. Now I start my server like this: `http-server -a 0.0.0.0 --cert self-signed.crt --key self-signed.key...