Welcome! Log In Create A New Profile


Custom config for different domains (in Plesk)

Posted by whitetiger 
Custom config for different domains (in Plesk)
July 22, 2019 04:02AM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready