mirror of
https://github.com/Luzifer/gziphttp.git
synced 2024-11-09 16:00:04 +00:00
Add help
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
17e81d7251
commit
3ac99ed5e3
1 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,15 @@ Very simple HTTP server for serving static files with ability for gzip compressi
|
|||
|
||||
## Usage
|
||||
|
||||
```console
|
||||
# gziphttp -h
|
||||
Usage of gziphttp:
|
||||
--listen string Port/IP to listen on (default ":3000")
|
||||
--log-level string Log level (debug, info, warn, error, fatal) (default "info")
|
||||
-d, --serve-dir string Directory to serve files from (default ".")
|
||||
--version Prints current version and exits
|
||||
```
|
||||
|
||||
Here is an example usage inside a Docker container containing (quite large) compiled JavaScript files:
|
||||
|
||||
```dockerfile
|
||||
|
|
Loading…
Reference in a new issue