# Based on the configuration samples in intel/asynch_mode_nginx, which is # licensed under the BSD 3-Clause License. # See https://github.com/intel/asynch_mode_nginx/blob/master/LICENSE worker_processes 48; error_log logs/error.log; pid logs/nginx.pid; worker_rlimit_nofile 102400; #load_module modules/ngx_http_qatzip_filter_module.so; #load_module modules/ngx_ssl_engine_qat_module.so; events { use epoll; worker_connections 102400; accept_mutex off; } http { include mime.types; default_type application/octet-stream; gzip on; gzip_min_length 128; gzip_comp_level 1; gzip_types text/css text/javascript text/xml text/plain text/x-component application/javascript application/json application/xml application/rss+xml font/truetype font/opentype application/vnd.ms-fontobject image/svg+xml; gzip_vary on; gzip_disable "msie6"; gzip_http_version 1.0; # HTTPS server # server { listen 443 ssl asynch; server_name localhost; ssl_protocols TLSv1.2; ssl_certificate /usr/local/nginx_qat_module/certs/server.crt; ssl_certificate_key /usr/local/nginx_qat_module/certs/server.key; access_log off; } }