aboutsummaryrefslogtreecommitdiffstats
path: root/terminaldweller.com/cargo/nginx.conf
blob: eafeeee1f57db638d2aa27604e568176564aebf3 (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 http2;
    keepalive_timeout 70;
    ssl_certificate /certs/cert1.pem;
    ssl_certificate_key /certs/privkey1.pem;
    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;
    }
  }
}