# Optional admin endpoints (default: /admin)
admin_base_path: "/admin"
# Required: Lua routing
lua_routing:
enabled: true
scripts_dir: "./scripts"
# Required: At least one tenant
tenants:
- name: "my-api"
domains: ["api.example.com"] # OR
path_prefix: "/api/" # OR both
lua_routes: "api-routes"
health_interval: 30 # seconds
services:
- name: "backend"
url: "http://backend:3001"
health: "/health" # endpoint
compression:
enabled: true # default
level: 5 # 1-9, default 5
content_types: # default list
- "application/json"
- "text/html"
domains
+ path_prefix
domains
onlypath_prefix
only/
See configs/examples/
for working configurations.