mirror of
https://github.com/Luzifer/gziphttp.git
synced 2024-09-19 16:33:00 +00:00
Add help
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
17e81d7251
commit
3ac99ed5e3
@ -9,6 +9,15 @@ Very simple HTTP server for serving static files with ability for gzip compressi
|
|||||||
|
|
||||||
## Usage
|
## 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:
|
Here is an example usage inside a Docker container containing (quite large) compiled JavaScript files:
|
||||||
|
|
||||||
```dockerfile
|
```dockerfile
|
||||||
|
Loading…
Reference in New Issue
Block a user