TLS handshake error from : EOF

OK thanks for your answer.
So the problem is on ssw2 (this is caddy version 1)

2020/06/11 04:27:15 [INFO] supersamaworld.com - No such site at :443 (Remote: 145.239.0.175, Referer: )
2020/06/11 04:27:15 [INFO] supersamaworld.com - No such site at :443 (Remote: 145.239.0.175, Referer: )

I suppose it try to find supersamaworld.com into config
So i have edit my caddyfile
from

ssw2.samaserv.link {

to

supersamaworld.com, www.supersamaworld.com, ssw2.samaserv.link {

And that’s works !

But, this is not the real server, so how the certificates will be renew ?
is it possible to tell caddy not to trust Host sent?
Edit, i have rollback config on ssw2 caddy
And i have change header Host from supersamaworld.com caddy server :grin:

    reverse_proxy https://ssw2.samaserv.link {
        header_up Host ssw2.samaserv.link
    }

Edit 2 : Thanks @Whitestrake for your precious help !

3 Likes