Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow nginx ≥1.23.2 ssl_session_tickets #252

Merged
merged 2 commits into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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',
gstrauss marked this conversation as resolved.
Show resolved Hide resolved
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