jean-cloud-services/services/leida.fr/nginx_server.conf
2023-10-31 16:42:06 +01:00

16 lines
357 B
Plaintext
Executable File

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate $JC_CERT/fullchain.pem;
ssl_certificate_key $JC_CERT/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;
}
}