Operations 2 min read

NGINX 1.19.4 Mainline Release: New SSL Directives and Configuration Examples

The NGINX 1.19.4 mainline release adds new SSL directives such as ssl_conf_command and ssl_reject_handshake, introduces a proxy_smtp_auth mail proxy feature, and provides configuration examples showing how to reject SSL handshakes for all server names except a specified one.

Laravel Tech Community
Laravel Tech Community
Laravel Tech Community
NGINX 1.19.4 Mainline Release: New SSL Directives and Configuration Examples

NGINX 1.19.4 mainline version has been released, introducing several new SSL‑related directives and other features.

Feature: added "ssl_conf_command", "proxy_ssl_conf_command", "grpc_ssl_conf_command" and "uwsgi_ssl_conf_command".

Feature: added "ssl_reject_handshake" directive.

Feature: mail proxy added "proxy_smtp_auth" directive.

The ssl_reject_handshake directive, available in the ngx_http_ssl_module, can be set to on or off (default off) and, when enabled, forces the server block to reject SSL handshakes.

Syntax:    ssl_reject_handshake on | off;
Default:    ssl_reject_handshake off;
Context:   http, server

Example configuration shows how to reject SSL handshakes for all server names except example.com:

server {
    listen               443 ssl;
    ssl_reject_handshake on;
}

server {
    listen              443 ssl;
    server_name         example.com;
    ssl_certificate     example.com.crt;
    ssl_certificate_key example.com.key;
}
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

BackendOperationsWeb serverSSL
Laravel Tech Community
Written by

Laravel Tech Community

Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.