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.