Nginx server shows 400 Bad Request after certificate generated

http to https redirection happens in the vhost for http (listen 80)
you only show the vhost for https

you failed to mention that your sites’ IPs are using CloudFlare

and the only “working” connection redirects (back to itself) infinitely:
wget https://www.zozzxx.xyz/mail/
Resolving www.zozzxx.xyz (www.zozzxx.xyz)… 139.59.166.172
Connecting to www.zozzxx.xyz (www.zozzxx.xyz)|139.59.166.172|:443… connected.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://www.zozzxx.xyz/mail/ [following]
Reusing existing connection to www.zozzxx.xyz:443.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://www.zozzxx.xyz/mail/ [following]
Reusing existing connection to www.zozzxx.xyz:443.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://www.zozzxx.xyz/mail/ [following]
Reusing existing connection to www.zozzxx.xyz:443.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://www.zozzxx.xyz/mail/ [following]
Reusing existing connection to www.zozzxx.xyz:443.
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://www.zozzxx.xyz/mail/ [following]
Reusing existing connection to www.zozzxx.xyz:443.