jean-cloud-services/services/feteducourt2020.jean-cloud.net/nginx_server.conf

12 lines
313 B
Plaintext
Raw Normal View History

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