docs(readme): note BLOCKED_NPUBS runtime env var
This commit is contained in:
parent
0d84de1b3e
commit
eed6987faa
1 changed files with 15 additions and 3 deletions
18
README.md
18
README.md
|
|
@ -58,9 +58,21 @@ docker run --rm -p 8080:80 git.edufeed.org/edufeed/nocabs:latest
|
|||
# open http://localhost:8080
|
||||
```
|
||||
|
||||
The image is `caddy:2-alpine` serving the built static assets on port `80`. No env
|
||||
vars are needed. For TLS, put it behind any reverse proxy (Traefik, Caddy, nginx,
|
||||
Cloudflare) terminating HTTPS upstream.
|
||||
The image is `caddy:2-alpine` serving the built static assets on port `80`. For
|
||||
TLS, put it behind any reverse proxy (Traefik, Caddy, nginx, Cloudflare)
|
||||
terminating HTTPS upstream.
|
||||
|
||||
### Runtime configuration
|
||||
|
||||
The entrypoint renders `/srv/config.json` from environment variables at
|
||||
container start (no image rebuild required). Currently supported:
|
||||
|
||||
- `BLOCKED_NPUBS` — comma-separated npubs and/or 64-char hex pubkeys whose
|
||||
content is hidden from this deployment. Events from these authors never
|
||||
enter the EventStore; direct URLs such as `/vocab/<blocked-npub>[/<d>]`
|
||||
return a 404. Unset or empty means no operator-level blocking.
|
||||
|
||||
Change the value and restart the container to take effect.
|
||||
|
||||
## Deploy behind your own reverse proxy
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue