- Server operating system version
- buntu 2204
- Plesk version and microupdate number
- obsidian
HI all
I want to add a new server block to nginx.conf
The easiest way seems to be a simple
if exists ...
include "/var/www/vhosts/system/domain.com/conf/vhost_nginx.conf";
at the bottom
However, I cant find the right file to add this to. /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php inserts the line at the end of search server{} block
Where can I inject this?
I want to add a new server block to nginx.conf
The easiest way seems to be a simple
if exists ...
include "/var/www/vhosts/system/domain.com/conf/vhost_nginx.conf";
at the bottom
However, I cant find the right file to add this to. /usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php inserts the line at the end of search server{} block
Where can I inject this?