i`am just wondering if i define something like this:

ssl_ciphers 'AES256+EECDH:AES256+EDH:!aNULL';

in my vhost config in nginx, it is active on all my vhosts which use ssl.

Is there a way to define the ssl_ciphers and ssl_protocols for each vhost separately?


nginx documentation states that the ssl_ciphers directive can be used both at http and server levels. So yes, when you specify it inside a server (virtual host) block, it applies only to that vhost.

Your Answer

