Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Custom config for different domains (in Plesk)

$
0
0
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.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>