Update nginx/wordpress
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user