different ssl_cerficate/ssl_cerficate_key pair for different $host in same server directive

Rainer Duffner rainer at ultra-secure.de
Wed Mar 9 18:26:00 UTC 2022



> Am 09.03.2022 um 09:18 schrieb huiming via nginx <nginx at nginx.org>:
> 
> hi Hello,  
> 
>     Is below configuration valid? nginx report 
>     "nginx: [emerg] "ssl_certificate" directive is not allowed here in /usr/local/nginx/clientcfg/www.waf.soptest.com.443.conf:16"
> 
>     I hope different ssl_cerficate/ssl_cerficate_key pair for different $host in same server , it is possible?
> 


No.

Why not create two vhosts?




More information about the nginx mailing list