HTTP directives

ssl_prefer_server_ciphers directive (HTTP)

Prefer the server cipher order where the protocol and library apply that choice. This alone does not define allowed algorithms or establish a secure TLS policy. Context: http, server. Documented default: off. Version: Introduction not established. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.

Formal Syntax & Structure

nginx syntaxnginx
ssl_prefer_server_ciphers on | off;

Parameters & Attributes

NameTypeDescription
stateon | offSelect whether this behavior is enabled.

Working Example

Example Snippetnginx
ssl_prefer_server_ciphers on;
Nginx Reference