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

huiming 877509395 at qq.com
Thu Mar 10 01:36:37 UTC 2022


    I hope a server directive includes all sites of user. The benefit of such configuration is that the limit_rate/limit_conn can take effect for the user's all sites. 


    Is there any other configuration to implement this requirement?








------------------ Original ------------------
From:                                                                                                                        "nginx"                                                                                    <rainer at ultra-secure.de>;
Date: Thu, Mar 10, 2022 02:26 AM
To: "nginx"<nginx at nginx.org>;

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





> 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?


_______________________________________________
nginx mailing list -- nginx at nginx.org
To unsubscribe send an email to nginx-leave at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20220310/517b9547/attachment.htm>


More information about the nginx mailing list