Hi Sebastian,
The additional directives are configuration files on your service (under the specified sub-domain--depending on your configuration) i.e.:
Additional directives for HTTP
/var/www/vhosts/system/subdomain.example.com/conf/vhost.conf
Additional directives for HTTPS
/var/www/vhosts/system/subdomain.example.com/conf/vhost_ssl.conf
Additional nginx directives
/var/www/vhosts/system/subdomain.example.com/conf/vhost_nginx.conf
It is possible to symilnk configuration files to these file locations and only change the linked file.
*For example:
Create a directory for your files, i.e.:
[root@yourhost:/var/www/vhosts/system]# mkdir conf
Change the group ownership on "conf" to "psaserv" i.e.:
[root@yourhost:/var/www/vhosts/system]# chgrp psaserv ./conf/
Create your additional directive configuration files (based on your need):
/var/www/vhosts/system/conf/vhost.conf
/var/www/vhosts/system/conf/vhost_ssl.conf
/var/www/vhosts/system/conf/vhost_nginx.conf
The files should have the following ownership and permissions (600):
-rw------- root apache vhost.conf
-rw------- root apache vhost_ssl.conf
-rw------- root nginx vhost_nginx.conf
Now link your files (you can do this for each sub-domain):
[root@yourhost:/var/www/vhosts/system/subdomain.example.com/conf]# ln -s ../../conf/vhost.conf vhost.conf
[root@yourhost:/var/www/vhosts/system/subdomain.example.com/conf]# ln -s ../../conf/vhost_ssl.conf vhost_ssl.conf
[root@yourhost:/var/www/vhosts/system/subdomain.example.com/conf]# ln -s ../../conf/vhost_nginx.conf vhost_nginx.conf
Note: If you update the additional directives at any time using Plesk, the symlink will be overwritten.
You will need to reconfigure your websites after you update the file(s), please see:
How to reconfigure websites on Plesk server
Regards,
Alvin
*PLEASE NOTE: Any technical advice or directions given is provided AS IS without any guarantee of its accuracy. If you perform any suggestions or modifications provided as an example by me to your configuration you do so AT YOUR OWN RISK.