These refer to the physical limits and requirements of the machinery.

# Nginx production settings
worker_processes auto;
worker_connections 4096;
gzip on;
gzip_types text/plain text/css application/json application/javascript;
client_max_body_size 10M;
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mycache:10m;

| Setting Group | Validation Rule | |------------------------|------------------------------------------------------| | Security | DEBUG = False (enforced); ALLOWED_HOSTS must be explicit | | Database | Connection pooling enabled; no SQL logging | | Cache | Must use production-grade backend (Redis/Memcached) | | External APIs | Timeout >= 5s, retry policy with exponential backoff | | Feature Flags | Default to safe/off state unless explicitly allowed |

Production-settings -

These refer to the physical limits and requirements of the machinery.

# Nginx production settings
worker_processes auto;
worker_connections 4096;
gzip on;
gzip_types text/plain text/css application/json application/javascript;
client_max_body_size 10M;
proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=mycache:10m;

| Setting Group | Validation Rule | |------------------------|------------------------------------------------------| | Security | DEBUG = False (enforced); ALLOWED_HOSTS must be explicit | | Database | Connection pooling enabled; no SQL logging | | Cache | Must use production-grade backend (Redis/Memcached) | | External APIs | Timeout >= 5s, retry policy with exponential backoff | | Feature Flags | Default to safe/off state unless explicitly allowed | production-settings