Update nginx/wordpress
This commit is contained in:
@@ -11,9 +11,7 @@ server {
|
|||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include snippets/fastcgi-php.conf;
|
include snippets/fastcgi-php.conf;
|
||||||
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock; # Adjust PHP version as needed
|
fastcgi_pass unix:/var/run/php/php8.4-fpm.sock;
|
||||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
|
||||||
include fastcgi_params;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Prevent PHP scripts from being executed inside the uploads folder.
|
# Prevent PHP scripts from being executed inside the uploads folder.
|
||||||
|
|||||||
Reference in New Issue
Block a user