12 lines
313 B
Plaintext
Executable File
12 lines
313 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
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;
|
|
location / {
|
|
root $HTTP_DIR;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|