Skip to content

Commit

Permalink
Merge pull request #252 from janbrasna/upd/nginx-session-tickets
Browse files Browse the repository at this point in the history
Allow nginx ≥1.23.2 `ssl_session_tickets`
  • Loading branch information
gstrauss authored Oct 6, 2024
2 parents d4c99c1 + a172281 commit 6412dd9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/configs.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,12 @@ module.exports = {
nginx: {
checked: true,
highlighter: 'nginx',
latestVersion: '1.17.7',
latestVersion: '1.26.0',
name: 'nginx',
tls13: '1.13.0',
},
openssl: {
latestVersion: '1.1.1k',
latestVersion: '1.1.1w',
tls13: '1.1.1',
},
oraclehttp: {
Expand Down
2 changes: 2 additions & 0 deletions src/templates/partials/nginx.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ server {
ssl_certificate_key /path/to/private_key;
ssl_session_timeout 1d;
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
{{#unless (minver "1.23.2" form.serverVersion)}}
{{#if (minver "1.0.2l" form.opensslVersion)}}
{{#if (minver "1.5.9" form.serverVersion)}}
ssl_session_tickets off;
{{/if}}
{{/if}}
{{/unless}}

{{#if output.usesDhe}}
# {{output.dhCommand}} > /path/to/dhparam
Expand Down

0 comments on commit 6412dd9

Please sign in to comment.