jean-cloud-services/services/feteducourt.jean-cloud.net/nginx_server.conf
Adrian Amaglio 13a9891e71 pouloulou…
2023-09-13 10:46:02 +02:00

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;
}
}