aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cargo/nginx.conf
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-02-17 16:35:24 +0000
committerterminaldweller <thabogre@gmail.com>2022-02-17 16:35:24 +0000
commit37aded67036767de61177a2b42df06e23724d489 (patch)
tree03f322d85de0f7d693ef01024acab2ffdbb4fb30 /terminaldweller.com/cargo/nginx.conf
parentfix (diff)
downloadscripts-37aded67036767de61177a2b42df06e23724d489.tar.gz
scripts-37aded67036767de61177a2b42df06e23724d489.zip
fix
Diffstat (limited to '')
-rw-r--r--terminaldweller.com/cargo/nginx.conf7
1 files changed, 6 insertions, 1 deletions
diff --git a/terminaldweller.com/cargo/nginx.conf b/terminaldweller.com/cargo/nginx.conf
index 4606586..ce48c85 100644
--- a/terminaldweller.com/cargo/nginx.conf
+++ b/terminaldweller.com/cargo/nginx.conf
@@ -1,3 +1,6 @@
+events {
+ worker_connections 1024;
+}
http {
server {
listen 8080 ssl;
@@ -6,9 +9,11 @@ http {
ssl_certificate_key /certs/server.key;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_ciphers HIGH:!aNULL:!MD5;
+ sendfile on;
+ tcp_nopush on;
location / {
- root /cargo
+ root /cargo;
}
}
}