Greetings,
I have searched the forum but have not found a unique solution for my question: I'm on Plesk Onyx and have nginx activated. I would like to add "<VirtualHost xxx.xxx.xxx.xxx:8004>" and "<VirtualHost xxx.xxx.xxx.xxx:8005>" entries to the Apache config to have Apache listening additionally on these ports and directing requests to a certain directory containing PHP files.
Editing the /var/www/vhosts/system/mydomain.com/conf/httpd.conf is not an option for known reasons ("#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,") and adding the entries to a vhost.conf in that directory results in an error as the include directive sits within the default "<VirtualHost ..." entry. I hope I have not overlooked an obvious solution and have expressed myself clearly.
Thank you very much in advance
Tonio
I have searched the forum but have not found a unique solution for my question: I'm on Plesk Onyx and have nginx activated. I would like to add "<VirtualHost xxx.xxx.xxx.xxx:8004>" and "<VirtualHost xxx.xxx.xxx.xxx:8005>" entries to the Apache config to have Apache listening additionally on these ports and directing requests to a certain directory containing PHP files.
Editing the /var/www/vhosts/system/mydomain.com/conf/httpd.conf is not an option for known reasons ("#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,") and adding the entries to a vhost.conf in that directory results in an error as the include directive sits within the default "<VirtualHost ..." entry. I hope I have not overlooked an obvious solution and have expressed myself clearly.
Thank you very much in advance
Tonio