user nginx;
worker_processes 4; error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid; worker_rlimit_nofile 100000; events {
worker_connections 10240;
} 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; sendfile on;
tcp_nopush on; keepalive_timeout 600; #gzip on;
server_tokens off;
server_name_in_redirect off;
more_set_headers 'Pragma: no-cache';
#more_set_headers 'Cache-Control: no-cache,no-store';
more_set_headers 'Cache-Control: no-cache,no-store,must-revalidate,private';
more_set_headers 'X-Content-Type-Options: nosniff';
more_set_headers 'X-Frame-Options: SAMEORIGIN';
#more_set_headers 'Set-Cookie: secure; HttpOnly';
client_header_timeout 45s;
client_body_timeout 60s;
limit_req_zone $binary_remote_addr zone=one:10m rate=30r/s; #upstream form backends
upstream coach {
server 10.215.70.172:8009;
# server 10.215.70.173:8009;
server 10.215.65.55:8009;
keepalive 600;
} include /etc/nginx/conf.d/*.conf;
}