Wordpress behind NGINX proxy

Hello Hestia community,

We successfully managed to get the Wordpress behind NGINX proxy. The Wordpress is working correctly, like a permalinks .com/hello-world or .com/category/example-category

But URLs like .com/wp-admin/admin-ajax.php or just test script .com/wp-admin/hello-world.php is not working.

It looks like only index.php is working in sub folders. What we need to change? Any ideas?

On first server as proxy we just added proxy_pass; to default.tpl and default.stpl.

On second server with Wordpress we just copied SSL certificates and selected Wordpress NGINX template.

Many thanks for any help.

Don’t modify existing templates is is asking for issues:

For .php remove the .php block