server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate $JC_CERT/fullchain.pem; ssl_certificate_key $JC_CERT/privkey.pem; server_name $JC_SERVICE www.$JC_SERVICE; root $DATA_DIR; location / { index index.html; try_files $uri $uri/ =404; } }