jean-cloud-services/services/leida.fr/nginx_server.conf
2023-04-24 12:11:09 +02:00

16 lines
401 B
Plaintext
Executable File

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/leida.fr/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/leida.fr/privkey.pem;
server_name leida.fr www.leida.fr;
location / {
root /data/leida.fr/public;
index index.htm index.html;
try_files $uri $uri/ =404;
}
location ~ .php {
deny all;
}
}