19 lines
437 B
Plaintext
19 lines
437 B
Plaintext
server {
|
|
listen 443 ssl http2;
|
|
server_name ldapadmin.vern.cc;
|
|
include snippets/lets-encrypt.conf;
|
|
# document root
|
|
root /usr/share/phpldapadmin/htdocs;
|
|
index index.php index.html index.htm;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.php;
|
|
}
|
|
location ~ \.php$ {
|
|
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
|
|
fastcgi_index index.php;
|
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
include /etc/nginx/fastcgi_params;
|
|
}
|
|
}
|