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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.