From c2b8b817a80d7b8c8a756b5f099329d8e5bc1837 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Sun, 31 Jan 2021 20:39:47 -0500 Subject: auto worker_processes --- usr/local/etc/nginx/nginx.conf | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'usr') diff --git a/usr/local/etc/nginx/nginx.conf b/usr/local/etc/nginx/nginx.conf index bb2f09a..d049eec 100644 --- a/usr/local/etc/nginx/nginx.conf +++ b/usr/local/etc/nginx/nginx.conf @@ -1,4 +1,4 @@ -worker_processes 1; +worker_processes auto; events { worker_connections 1024; @@ -8,8 +8,6 @@ http { include mime.types; default_type application_octet-stream; - sendfile on; - server { server_name theglassyladies.com; listen 80; @@ -22,10 +20,10 @@ http { client_max_body_size 10M; gzip on; gzip_vary on; - #gzip_min_length 10240; gzip_proxied expired no-cache no-store private auth; gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml; gzip_disable "MSIE [1-6]\."; + sendfile on; sendfile_max_chunk 1m; keepalive_timeout 65; -- cgit v1.2.3