fix fpm socket

This commit is contained in:
Lee 2023-07-04 17:02:32 +01:00
parent e37710174f
commit ecfad6194c

View File

@ -37,7 +37,7 @@ http {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php/php-fpm.sock;
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_index index.php;