default.conf 441 Bytes
server {
    listen 80;
    return 301 https://$host$request_uri;
}

server {
    listen 443 ssl default_server;
    server_name 2020105578.oss2021.tk;

    ssl_certificate /etc/letsencrypt/live/2020105578.oss2021.tk/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/2020105578.oss2021.tk/privkey.pem;

    location / {
        root    /usr/web/build;
        index   index.html;
        try_files $uri $uri/ /index.html;
    }
}