Hi Nikolay,
I tried your solution but I get an error message saying: "Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/DOMAIN.TLD/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed"
That's because I don't have my WP in "/wordpress/" but "/".
I understand about the configuration being rewritten but once I got it working, there was no need to regenerate the configs and they won't be overwritten automatically.
I tried your solution but I get an error message saying: "Invalid nginx configuration: nginx: [emerg] duplicate location "/" in /var/www/vhosts/system/DOMAIN.TLD/conf/vhost_nginx.conf:1 nginx: configuration file /etc/nginx/nginx.conf test failed"
That's because I don't have my WP in "/wordpress/" but "/".
I understand about the configuration being rewritten but once I got it working, there was no need to regenerate the configs and they won't be overwritten automatically.