aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cargo/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'terminaldweller.com/cargo/nginx.conf')
-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;
}
}
}