2023-04-24 10:11:09 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2023-09-13 08:46:02 +00:00
|
|
|
ssl_certificate /etc/letsencrypt/live/$JC_SERVICE/fullchain.pem;
|
|
|
|
ssl_certificate_key /etc/letsencrypt/live/$JC_SERVICE/privkey.pem;
|
|
|
|
server_name $JC_SERVICE www.$JC_SERVICE;
|
2023-04-24 10:11:09 +00:00
|
|
|
location / {
|
2023-09-13 08:46:02 +00:00
|
|
|
root $HTTP_DIR;
|
2023-04-24 10:11:09 +00:00
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
}
|
|
|
|
}
|