Update nginx/wordpress

This commit is contained in:
Dai
2025-10-09 22:40:34 -07:00
parent ed266f9848
commit 76220823f1

View File

@@ -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.