summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-01-31 20:39:47 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-01-31 20:39:47 -0500
commitc2b8b817a80d7b8c8a756b5f099329d8e5bc1837 (patch)
treeee883c3e6e4086faf8ddcf89fb3488c07ab1510b /usr
parente0a28e8922ec89e8ab0142bf511ae81e31fcfb88 (diff)
downloadtheglassyladies-c2b8b817a80d7b8c8a756b5f099329d8e5bc1837.tar.xz
theglassyladies-c2b8b817a80d7b8c8a756b5f099329d8e5bc1837.zip
auto worker_processes
Diffstat (limited to 'usr')
-rw-r--r--usr/local/etc/nginx/nginx.conf6
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;