Skip to content

Commit

Permalink
nixos/nginx: Enable TLS 1.3 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jtojnar authored and lheckemann committed Feb 25, 2019
1 parent 051e852 commit f93ff28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions nixos/doc/manual/release-notes/rl-1903.xml
Expand Up @@ -645,6 +645,9 @@
This may break some older applications that still rely on those symbols.
An upgrade guide can be found <link xlink:href="https://www.open-mpi.org/faq/?category=mpi-removed">here</link>.
</para>
<para>
The nginx package now relies on OpenSSL 1.1 and supports TLS 1.3 by default. You can set the protocols used by the nginx service using <xref linkend="opt-services.nginx.sslProtocols"/>.
</para>
</listitem>
</itemizedlist>
</section>
Expand Down
4 changes: 2 additions & 2 deletions nixos/modules/services/web-servers/nginx/default.nix
Expand Up @@ -479,8 +479,8 @@ in

sslProtocols = mkOption {
type = types.str;
default = "TLSv1.2";
example = "TLSv1 TLSv1.1 TLSv1.2";
default = "TLSv1.2 TLSv1.3";
example = "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3";
description = "Allowed TLS protocol versions.";
};

Expand Down

0 comments on commit f93ff28

Please sign in to comment.