1

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?

1 Answers1

4

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.

Tero Kilkanen
  • 36,796
  • 3
  • 41
  • 63
  • 2
    You also could easily test it with https://github.com/jvehent/cipherscan tool by scanning different vhosts after setting them up. – AntonioK Feb 18 '15 at 12:25