make php use a sock
All checks were successful
/ docker (push) Successful in 26s

This commit is contained in:
Lee
2023-07-08 00:24:42 +01:00
parent cf219a418e
commit ade90e81e9
2 changed files with 4 additions and 1 deletions

View File

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