1) When requesting derivatives it is for example localhost/folder
It returns the correct 404.php page from wordpress. But when I try to write like this localhost/folder.txt
or folder.html, it displays a 404 page from nginx. I know that something needs to be prescribed in the nginx config, but I do not know what.
2) How to configure dynamic robots.txt in Wordpress, again because txt files are processed by nginx is not possible to make a virtual robots.txt, something in the config should be prescribed. I would like to prescribe a config that in general would give all the file extensions to process php if php starts working with one of these extensions.