I am sorry for the somewhat vague topic name, but I am not sure how to put it differently.
I used the jwilder docker and it has worked flawlessly for many months. And from one day to the next it stopped working, and I cannot get to my site anymore.
After that it was a very long and annoying road to a solution, but all ended up in the same result: it does not work anymore.
From the logs it looks fine when everything is starting up:
WARNING: /etc/nginx/dhparam/dhparam.pem was not found. A pre-generated dhparam.pem will be used for now while a new one
is being generated in the background. Once the new dhparam.pem is in place, nginx will be reloaded.
forego | starting dockergen.1 on port 5000
forego | starting nginx.1 on port 5100
dockergen.1 | 2020/09/21 16:08:42 Generated '/etc/nginx/conf.d/default.conf' from 5 containers
dockergen.1 | 2020/09/21 16:08:42 Running 'nginx -s reload'
dockergen.1 | 2020/09/21 16:08:42 Watching docker events
dockergen.1 | 2020/09/21 16:08:42 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
2020/09/21 16:08:47 [notice] 46#46: signal process started
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
dhparam generation complete, reloading nginx
dockergen.1 | 2020/09/21 16:09:35 Received event start for container a7a9713af01b
dockergen.1 | 2020/09/21 16:09:35 Contents of /etc/nginx/conf.d/default.conf did not change. Skipping notification 'nginx -s reload'
dockergen.1 | 2020/09/21 16:11:12 Received event start for container b54a169f2459
dockergen.1 | 2020/09/21 16:11:12 Generated '/etc/nginx/conf.d/default.conf' from 7 containers
nginx.1 | bee-network.nl 52.28.236.88 - - [21/Sep/2020:16:11:32 +0000] "GET /.well-known/acme-challenge/GaEf9a-be8pCPwjIu1R8j-JqIf7DUeJ2DsdUd6lPQlY HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
nginx.1 | bee-network.nl 3.128.26.105 - - [21/Sep/2020:16:11:32 +0000] "GET /.well-known/acme-challenge/GaEf9a-be8pCPwjIu1R8j-JqIf7DUeJ2DsdUd6lPQlY HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
nginx.1 | bee-network.nl 64.78.149.164 - - [21/Sep/2020:16:11:33 +0000] "GET /.well-known/acme-challenge/GaEf9a-be8pCPwjIu1R8j-JqIf7DUeJ2DsdUd6lPQlY HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
nginx.1 | bee-network.nl 34.209.232.166 - - [21/Sep/2020:16:11:33 +0000] "GET /.well-known/acme-challenge/GaEf9a-be8pCPwjIu1R8j-JqIf7DUeJ2DsdUd6lPQlY HTTP/1.1" 200 87 "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"
nginx.1 | bee-network.nl 192.168.178.1 - - [21/Sep/2020:16:12:50 +0000] "GET / HTTP/1.1" 301 169 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0 Safari/605.1.15"
But then every time I try to reach my website I get this:
nginx.1 | _ 192.168.178.1 - - [21/Sep/2020:16:12:50 +0000] "\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x03\xF3~L;\x92Y\xF8\xF1\xEB\xA2;\x99j\xE6\xAEV\x16)\xA4\x99\xB1E\xFC\xFB[*h\xEB\xBE\xB5\xC4\xE5 \xE0\xC4\xB6X\xC0\x00\x101e\x00\xB7!\x7F\x1D\x91\x1E\x07\x07Re" 400 157 "-" "-"
nginx.1 | _ 192.168.178.1 - - [21/Sep/2020:16:12:50 +0000] "\x16\x03\x01\x02\x00\x01\x00\x01\xFC\x03\x03*\x8B\xC2\xFE\xDD\x8A#\xC5\x84\xB5\xE3\xE6\xC5\x22\x94\xC6\x8B\xE9\x86\x10\xD0\x17\x99X{\xBD\xE6\xFFjEt\xB7 \x1A\x894\xC5w\xEA\xBCa\xB3\xFD\x98\xAF\xC5Q\xCB\x86\xDE\xAB\x0F\x9B\xFB\xA2~\xDC\x12\xEC?p\x97\x87)" 400 157 "-" "-"
nginx.1 | _ 192.168.178.1 - - [21/Sep/2020:16:12:50 +0000] "\x16\x03\x01\x00\x94\x01\x00\x00\x90\x03\x01\xCAO1\xAF*\xE9\x898\x1E7\xB7^\x86\xD9\xFC\xEB\xD2\x93\x8D-\xAC\x1E\x80>\xF0\x11\xC2\x0F\x16\xAB\x8FA\x00\x00\x14\xC0" 400 157 "-" "-"
And it must be something I am missing, because this is the result with every way of installing the dockers I have tried sofar.
So I am hoping this points to something silly that has changed, because I am getting fed up with all the people that report that its working fine for them