27 lines
768 B
Django/Jinja
27 lines
768 B
Django/Jinja
user nginx;
|
|
worker_processes {{ nginx_worker_processes }};
|
|
error_log {{ nginx_error_log }} {{ nginx_error_log_level }};
|
|
pid /var/run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections {{ nginx_worker_connections }};
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
|
'$status $body_bytes_sent "$http_referer" '
|
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
|
|
|
access_log {{ nginx_access_log }} main;
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
keepalive_timeout {{ nginx_keepalive_timeout }};
|
|
types_hash_max_size {{ nginx_types_hash_max_size }};
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
} |