Skip to content
Permalink
Browse files

Only suggest ssl_dh_params_file for PostgreSQL 10+. Fixes #70.

  • Loading branch information
april committed Jan 3, 2020
1 parent 84f7845 commit 676e003a8751bc3bd8eb05f66e09f42fa614e1db
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/templates/partials/postgresql.hbs
@@ -4,9 +4,11 @@ ssl = on
ssl_cert_file = '/path/to/signed_cert_plus_intermediates'
ssl_key_file = '/path/to/private_key'
{{#if output.usesDhe}}
{{#if (minver "10.0.0" form.serverVersion)}}

# {{output.dhCommand}} > /path/to/dhparam.pem
ssl_dh_params_file = '/path/to/dhparam.pem'
{{/if}}
{{/if}}

ssl_ciphers = '{{{join output.ciphers ":"}}}'

0 comments on commit 676e003

Please sign in to comment.
You can’t perform that action at this time.