From 76220823f1db9f92c2e8af2ab503e4742f88b55e Mon Sep 17 00:00:00 2001 From: Dai Date: Thu, 9 Oct 2025 22:40:34 -0700 Subject: [PATCH] Update nginx/wordpress --- nginx/wordpress | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nginx/wordpress b/nginx/wordpress index a34372b..336a4f7 100644 --- a/nginx/wordpress +++ b/nginx/wordpress @@ -11,9 +11,7 @@ server { location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php8.4-fpm.sock; # Adjust PHP version as needed - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include fastcgi_params; + fastcgi_pass unix:/var/run/php/php8.4-fpm.sock; } # Prevent PHP scripts from being executed inside the uploads folder.