nginx-profile-setup/kaproxy/nginx.conf

28 lines
531 B
Nginx Configuration File
Raw Normal View History

worker_processes 1;
error_log /dev/stdout notice;
pid /tmp/pid;
# callgrind in worker processes must be able to do things
user root;
events {
worker_connections 10;
}
http {
keepalive_timeout 300;
aio on; # blocking io blocks tracing
directio 4m;
server {
listen 8080 ssl;
server_name www.example.com;
ssl_certificate /www.example.com.crt;
ssl_certificate_key /www.example.com.key;
#ssl_certificate_cache max=1000;
ssl_session_cache shared:SSL:10m;
access_log /tmp/access.log;
proxy_socket_keepalive on;