aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cargo/nginx.conf
blob: d65508de60333db6afe5fc9ffb204807646d247c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
events {
  worker_connections 1024;
}
http {
  server {
    listen 8080 ssl;
    keepalive_timeout 70;
    ssl_certificate /certs/server.cert;
    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;
      autoindex on;
      autoindex_localtime on;
      autoindex_exact_size on;
    }
  }
}