Parse vhost.conf, vhost_ssl.conf files for included configuration files and migrate included files.
add the ability to parse
#/var/www/vhosts/system/example.com/conf/vhost.conf
#/var/www/vhosts/system/example.com/conf/vhost_ssl.conf
files for included configuration files and migrate included files.
Actually, there should not be any manually added included configuration files in that directory. Instead, custom directives for Nginx or Apache should be added to the "Additional Apache and Nginx Directives" fields in the "Apache and Nginx Settings" dialog.
This feature request has only received a very few votes through many years. For this reason we must decline it.
-- PD
-
kyani Bergamo commented
in Direttive aggiuntive di Apache:
Configurazione Apache non valida: AH00526: errore di sintassi nella riga 1 di /var/www/vhosts/system/mysite.***/conf/vhost_ssl.conf:
comando 'add_header' non valido, forse errato o definito da un modulo non incluso nella configurazione del server
il file è vuoto -
Larsen commented
It would be easier to simply migrate all files that Plesk doesn't know about but are located inside the conf directory.