aboutsummaryrefslogtreecommitdiffstats
path: root/spring-front/nginx.conf
blob: 197ba1f8d5ac96e55123218055794ef256cfb66c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
events {
  worker_connections 1024;
}
http {
  include mime.types;
  server {
    listen 443 ssl http2;
    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 /usr/share/nginx/html;
      index index.html;
      try_files $uri $uri/ /index.html;
    }
  }
}