When configuring NGINX with SSL the configuration stated you could have the listen parameter followed by IP:PORT. Initially I attempted to put the below.

Incorrect NGINX SSL Port Configuration:

listen 127.0.0.1:443;

This caused an error when attempting to visit localhost via HTTPS. The error was “SSL received a record that exceeded the maximum permissible length” followed by ssl_error_rx_record_too_long. This may be related to only listening on 127.0.0.1 or the localhost so in my case I simply changed the configuration line to the below.

Correct NGINX SSL Port Configuration:

listen 443;

The IP address defaults to localhost and SSL was working without this error after modifying this line.

Nginx HTTP Server (Paperback)

By (author): Clément Nedelcu


List Price: $44.99 USD
New From: $42.74 USD In Stock
Used from: $35.60 USD In Stock


List Price: $34.99 USD
New From: $16.73 USD In Stock
Used from: $1.00 USD In Stock

DeliciousStumbleUponDiggTwitterFacebookRedditLinkedInEmail
Tags: , , , , , , , ,
Leave a Reply

*Type the letter/number combination in the abvoe field before clicking submit.

*