My server is a VPS with Plesk installed.
This manages multiple domains with sub-domains, each with its own applications.
Some of these applications need special configurations, starting with the "location" directive which is centrally managed in Plesk.
I could generate a custom configuration, but it would still be valid on all domains.
So, my idea is to generate a "master" file that for some domains (or subdomains) make an include of custom configurations, while for all others there is the standard configuration.
But I know little about the configuration of Nginx and so I would be grateful if you could give me some directions and some advice.
Thanks in advance.
This manages multiple domains with sub-domains, each with its own applications.
Some of these applications need special configurations, starting with the "location" directive which is centrally managed in Plesk.
I could generate a custom configuration, but it would still be valid on all domains.
So, my idea is to generate a "master" file that for some domains (or subdomains) make an include of custom configurations, while for all others there is the standard configuration.
But I know little about the configuration of Nginx and so I would be grateful if you could give me some directions and some advice.
Thanks in advance.