replace lighttd with nginx

This commit is contained in:
0x5f3
2022-08-05 13:21:53 +00:00
parent 8650c68801
commit 9ac289a969
3 changed files with 23 additions and 11 deletions

12
install/default Normal file
View File

@@ -0,0 +1,12 @@
server {
listen 80 default_server;
root /var/www/html;
index index.php;
location ~* \.php$ {
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
}
}