1
0
mirror of https://github.com/Luzifer/gziphttp.git synced 2024-09-19 16:33:00 +00:00
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2019-06-02 01:23:55 +02:00
parent 17e81d7251
commit 3ac99ed5e3
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -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