diff options
author | Adam T. Carpenter <atc@53hor.net> | 2021-01-31 20:39:47 -0500 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2021-01-31 20:39:47 -0500 |
commit | c2b8b817a80d7b8c8a756b5f099329d8e5bc1837 (patch) | |
tree | ee883c3e6e4086faf8ddcf89fb3488c07ab1510b /usr | |
parent | e0a28e8922ec89e8ab0142bf511ae81e31fcfb88 (diff) | |
download | theglassyladies-c2b8b817a80d7b8c8a756b5f099329d8e5bc1837.tar.xz theglassyladies-c2b8b817a80d7b8c8a756b5f099329d8e5bc1837.zip |
auto worker_processes
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/etc/nginx/nginx.conf | 6 |
1 files changed, 2 insertions, 4 deletions
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; |