2023-04-24 10:11:09 +00:00
|
|
|
server {
|
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2023-09-29 07:51:22 +00:00
|
|
|
ssl_certificate $JC_CERT/fullchain.pem;
|
|
|
|
ssl_certificate_key $JC_CERT/privkey.pem;
|
2024-01-02 16:50:14 +00:00
|
|
|
server_name $JC_SERVICE www.$JC_SERVICE;
|
|
|
|
root $DATA_DIR;
|
2023-04-24 10:11:09 +00:00
|
|
|
|
|
|
|
location / {
|
|
|
|
index index.html;
|
|
|
|
try_files $uri $uri/ =404;
|
|
|
|
}
|
|
|
|
}
|