mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-05 06:00:37 +01:00
72 lines
2.0 KiB
Nginx Configuration File
72 lines
2.0 KiB
Nginx Configuration File
#user nginx;
|
|
worker_processes 5;
|
|
worker_rlimit_nofile 256000;
|
|
|
|
error_log /var/log/nginx/error.log error;
|
|
|
|
pid /tmp/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 5120;
|
|
use epoll;
|
|
}
|
|
|
|
|
|
http {
|
|
include /etc/nginx/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 /var/log/nginx/access.log main;
|
|
error_log /var/log/nginx/error.log error;
|
|
|
|
client_body_temp_path /tmp/client_body 1 2;
|
|
proxy_temp_path /tmp/proxy 1 2;
|
|
fastcgi_temp_path /tmp/fastcgi 1 2;
|
|
uwsgi_temp_path /tmp/uwsgi 1 2;
|
|
scgi_temp_path /tmp/scgi 1 2;
|
|
|
|
client_body_timeout 5m;
|
|
send_timeout 5m;
|
|
|
|
connection_pool_size 4096;
|
|
client_header_buffer_size 4k;
|
|
large_client_header_buffers 4 4k;
|
|
request_pool_size 4k;
|
|
reset_timedout_connection on;
|
|
|
|
|
|
gzip on;
|
|
gzip_min_length 100;
|
|
gzip_buffers 4 8k;
|
|
gzip_comp_level 5;
|
|
gzip_types text/plain;
|
|
gzip_types application/x-javascript;
|
|
gzip_types text/css;
|
|
|
|
output_buffers 128 512k;
|
|
postpone_output 1460;
|
|
aio on;
|
|
directio 512;
|
|
|
|
sendfile on;
|
|
client_max_body_size 8m;
|
|
client_body_buffer_size 256k;
|
|
fastcgi_intercept_errors on;
|
|
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
|
|
keepalive_timeout 75 20;
|
|
|
|
ignore_invalid_headers on;
|
|
|
|
index index.php;
|
|
server_tokens off;
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|