So, why is nginx not processing http://denaligo.com with LE and then presenting application. I suppose that should have been my key question all along.
You are correct. if you type http://denaligo.com/, it redirects properly, create LE connection and displays application. If you type http://45.33.36.173/, you get a browser error.
Iām sure I could be more embarrassedā¦ Thanks for spending so much time on this. I believe the problem was solved back when you recommended I create the new server block.
you can and you should completely ignore that problem.
First, every user / browser / bot connects your raw ip.
Connecting https://denaligo.com/ is impossible. In reality:
A- or AAAA-query of denaligo.com, result 45.33.36.173
Then the browser connects that ip https://45.33.36.173/
Then the browser sends a GET command
GET / HTTP/1.1
Host: denaligo.com
Nearly the same, one step earlier, is the SSL connection created.
So if the browser connects the ip, the Host header is empty or has the ip address. So the SSL handshake can't find the correct certificate (or can find one if there is a certificate with the ip address). If there is nothing, the standard SSL certificate is sent back.