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@ultra-secure.de>;
Date: Thu, Mar 10, 2022 02:26 AM
To: "nginx"<nginx@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@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@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org