I tried to follow up this thread as much as possible but I am always getting this message:
This site can’t be reached
example.com unexpectedly closed the connection.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_CLOSED
ReloadHIDE DETAILS
in Chrome.
The part of the configuration I am having is this:
server {
listen 80;
listen 443 default_server ssl;
#ssl on;
server_name example.com www.example.com;
This is for my test website example.com on my local 127.0.0.1 computer.