Sorry, no controversy, but I can not accept another invitation to read the documentation!
I read all the documentation, advanced and not.
I did not find a single row that could help me.
I've read wrong? It may be, but I do not understand why in this forum I can not have more precise information on
what to look for and where to look for.
If I ask a policeman, "Excuse me, I'm looking for a church," I'm not pretending to bring me to the church with his car, but he cannot tell me "buy a map." I expect him to say "go down this road and the church is in a street on the right".
In other words, I do not expect the solution, but
at least one trace of the right approach and best practice.
- Each configuration file is managed automatically and can not be edited.
- The vhost_nginx.conf file generates errors.
- The file /var/www/vhosts/system/DOMAIN/conf/nginx.conf is always empty and I do not understand which Plesk panel should change it.
- The /etc/nginx/nginx.conf file handles only the http section and covers all domains. Insert here a static path with a map directive creates a conflict with all domains that must use the same variable, such as two WP domains.
- In /etc/nginx/plesk.conf.d/ip_default/*.conf there is a link to the domain's nginx_ip_default.conf file. Perhaps it is in this folder that I have to create a custom configuration file, but in the documentation I did not find any hints of this type, neither how to avoid conflicts with the directives contained in the file generated automatically.
- To think that I have to modify the template in PHP just to handle a rewrite I find it a ridiculous thing.
In any case, a "customer" can not access system folders, but only those of his subscription.
Nevertheless, he will want to have control of his applications without being obliged to ask SysAdmin to modify system parameters.
I'm stuck for weeks on WP's initial installation, with rewrite suggested at the end of the installation.
I'm afraid to think what will happen with a more complex configuration.