Skip to content

Drop-In Quickstart

Because NGINX 1.x directives are backwards-compatible across releases, naati drops directly into existing NGINX 1.x deployments (1.20–1.30.x).

Swap the base image in your existing Dockerfile:

# Before:
# FROM nginx:1.26

# After:
FROM ghcr.io/malotho/naati:latest
COPY nginx.conf /etc/nginx/nginx.conf

Or run directly against a local config:

docker run --rm -p 8080:80 \
  -v "$PWD/nginx.conf:/etc/nginx/nginx.conf:ro" \
  ghcr.io/malotho/naati:latest

Verify & Reload

Both naati and the symlinked nginx binary accept the exact same flags:

naati -t          # validate configuration syntax
naati -T          # validate and dump full resolved configuration
naati -s reload   # zero-downtime reload (SIGHUP)
naati -s quit     # graceful drain and shutdown (SIGQUIT)