Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Ceryx is configured with the following environment variables:
- `CERYX_DEBUG`: Enable debug logs for Ceryx API (default: `true`)
- `CERYX_DISABLE_LETS_ENCRYPT`: Disable automatic Let's Encrypt HTTPS certificate generation (default: `false`)
- `CERYX_DNS_RESOLVER`: The IP of the DNS resolver to use (default: `127.0.0.11` — the Docker DNS resolver)
- `CERYX_DOCKERIZE_EXTRA_ARGS`: extra arguments, to pass to `dockerize` (default: None)
- `CERYX_DOCKERIZE_EXTRA_ARGS`: Extra arguments, to pass to `dockerize` (default: None)
- `CERYX_MAX_REQUEST_BODY_SIZE`: The maximum body size allowed for an incoming request to Ceryx (default: `100m` — 100 megabytes)
- `CERYX_REDIS_HOST`: The Redis host to use as backend (default: `127.0.0.1`)
- `CERYX_REDIS_PASSWORD`: Optional password to use for authenticating with Redis (default: None)
- `CERYX_REDIS_PORT`: The where Redis should be reached (default: `6379`)
Expand Down
2 changes: 2 additions & 0 deletions ceryx/nginx/conf/nginx.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ http {
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 30s 30s;
client_max_body_size {{ default .Env.CERYX_MAX_REQUEST_BODY_SIZE "100m" }};

# Use the Docker internal DNS, pick your favorite if running outside of Docker
resolver {{ default .Env.CERYX_DNS_RESOLVER "127.0.0.11" }};

Expand Down