I have a problem with the 404 page of Wordpress, instead of showing the wordpress page the server is showing 404.html of nginx, this did not happen before in Centos 8, now that I moved everything to Debian 11 it happens to me having the same configuration of aapanel. How can I do to keep showing the wordpress 404 error page?
*URL rewrite active with Wordpress.
Greetings