From 54eff39dee8f078022a15e76f9e0cb5afa8e349d Mon Sep 17 00:00:00 2001 From: Dai Date: Thu, 9 Oct 2025 22:12:14 -0700 Subject: [PATCH] Update nginx/wordpress --- nginx/wordpress | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nginx/wordpress b/nginx/wordpress index 6534682..7633385 100644 --- a/nginx/wordpress +++ b/nginx/wordpress @@ -5,6 +5,11 @@ server { root /var/www/example.com/web; index index.php index.htm index.html; + location ~ \.php$ { + include snippets/fastcgi-php.conf; + fastcgi_pass unix:/run/php/php8.4-fpm.sock; + } + # Prevent PHP scripts from being executed inside the uploads folder. location ~* /app/uploads/.*.php$ { deny all;