Add README. Process X-Forwarded-For
All checks were successful
Go / build (push) Successful in 1m22s

This commit is contained in:
2023-10-27 21:30:42 +13:00
parent 373013a74d
commit 5521a326cf
3 changed files with 41 additions and 2 deletions

View File

@@ -1,3 +1,27 @@
# snice
Simple Static Server
Simple Static Server designed to be run in Docker and served behind [Traefik](https://doc.traefik.io/traefik/)
## Usage
```
NAME:
snice - Serve Static Files
USAGE:
snice [global options] command [command options] [arguments...]
VERSION:
v0.2.0
COMMANDS:
serve, s Serve directory
healthcheck, hc Call healthcheck endpoint
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--quiet, -q (default: false)
--port value, -p value Port to serve on (default: "3000") [$PORT]
--help, -h show help
--version, -v print the version
```