16 lines
401 B
Plaintext
16 lines
401 B
Plaintext
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;
|
|
}
|
|
}
|