HTTP directives
ssl_dhparam directive (HTTP)
Configure finite-field Diffie–Hellman parameters for DHE cipher suites. Without a file, DHE suites are not used in current versions. This does not select ECDHE groups or TLS 1.3 cipher suites. Use an approved group. Context: http, server. Documented default: none. Version: 0.7.2; default behavior changed in 1.11.0. OSS documentation; verify library and build. Partial configuration for an isolated synthetic lab; not a production policy.
Formal Syntax & Structure
nginx syntaxnginx
ssl_dhparam file;Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| file | local file path | Use a controlled lab artifact of the documented format; restrict secret files. |
Working Example
Example Snippetnginx
ssl_dhparam certs/dh.pem;