Fix Bad Gateway: PHP-FPM via Unix socket + logs en supervisord

This commit is contained in:
2026-05-11 18:23:16 -06:00
parent e39d666d8b
commit b574ae1ed3
4 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ http {
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;