mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 16:45:05 +02:00
Added Zabbix web-interface with MySQL and Nginx support based on RHEL image
This commit is contained in:
71
web-nginx-mysql/rhel/conf/etc/nginx/nginx.conf
Normal file
71
web-nginx-mysql/rhel/conf/etc/nginx/nginx.conf
Normal file
@ -0,0 +1,71 @@
|
||||
#user nginx;
|
||||
worker_processes 5;
|
||||
worker_rlimit_nofile 256000;
|
||||
|
||||
error_log /dev/fd/2 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 /dev/fd/1 main;
|
||||
error_log /dev/fd/2 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;
|
||||
}
|
Reference in New Issue
Block a user