34 lines
810 B
Nginx Configuration File
34 lines
810 B
Nginx Configuration File
worker_processes auto;
|
|
pid /tmp/nginx.pid;
|
|
error_log /dev/stderr warn;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
log_format main '$request_method $uri $status $request_time '
|
|
'$upstream_response_time $request_id';
|
|
access_log /dev/stdout main;
|
|
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
keepalive_timeout 30s;
|
|
server_tokens off;
|
|
client_max_body_size 10m;
|
|
|
|
client_body_temp_path /tmp/client_body;
|
|
proxy_temp_path /tmp/proxy;
|
|
fastcgi_temp_path /tmp/fastcgi;
|
|
scgi_temp_path /tmp/scgi;
|
|
uwsgi_temp_path /tmp/uwsgi;
|
|
|
|
limit_req_zone $binary_remote_addr zone=telemetry_rate:10m rate=30r/m;
|
|
resolver 127.0.0.11 valid=30s ipv6=off;
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|