Template virtual_host2_secure.conf with custo file domain.cust_httpd

Matthew_1111

New member
Joined
Sep 4, 2020
Messages
1
I created custom Template virtual_host2_secure.conf with:
Code:
|*if USER="test"|
|?KEY=/usr/local/directadmin/data/users/test/domains/domain.pl.key|
|?CERT=/usr/local/directadmin/data/users/test/domains/domain.pl.cert|
|?CAROOT=SSLCACertificateFile /usr/local/directadmin/data/users/test/domains/domain.pl.cacert|
|*endif|

This is working but there is problem when I add custom httpd from DirectAdmin panel for page (domain2) which need to have different certificate for "test" user.
DirectAdmin still see configuration from custom template virtual_host2_secure.conf and domain2.cust_httpd not working.
 
Back
Top