From e836661322883b879018051ddd3df91f995bec1c Mon Sep 17 00:00:00 2001 From: Dai Date: Thu, 9 Oct 2025 22:45:13 -0700 Subject: [PATCH] Update nginx/wordpress --- nginx/wordpress | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/nginx/wordpress b/nginx/wordpress index 336a4f7..7633385 100644 --- a/nginx/wordpress +++ b/nginx/wordpress @@ -5,13 +5,9 @@ server { root /var/www/example.com/web; index index.php index.htm index.html; - location / { - try_files $uri $uri/ /index.php?$args; - } - location ~ \.php$ { include snippets/fastcgi-php.conf; - fastcgi_pass unix:/var/run/php/php8.4-fpm.sock; + fastcgi_pass unix:/run/php/php8.4-fpm.sock; } # Prevent PHP scripts from being executed inside the uploads folder.