Setup Nginx works for Hass, but broke nginx a bit

I have setup NGINX to do a redirect for my HASS with LE SSL this part works fine. So entering hass.ad.domain.nl in a browser works fine and redirect me to https://hass.ad.domain.nl

What i didn’t notice before is that going to NGINX from the HASS GUI so (it opens hass.ad.domain.nl:81 in a browser) give me a SSL error.
ERR_SSL_PROTOCOL_ERROR

When i browse to http://HASS-IP:81 i do get the Nginx login page.

So i figured i would restart NGINX this also doesn’t work anymore. It give me an error and tells me to look at supervisor log.

So i did that and all i could find was:

Supervisor.resolution.module] Create new issue IssueType.DNS_SERVER_IPV6_ERROR - ContextType.DNS_SERVER / 
[supervisor.resolution.checks.base] Run check for IssueType.DNS_SERVER_FAILED/ContextType.DNS_SERVER

I probably configured Nginx not a 100% correct or i forgot something. Any suggestions?