Use of IRIs in redirect responses causes nginx to violate HTTP RFCs
For example when you do this in a server block:
return 301 https://ǐri.domain
Then nginx nicely sends
ǐri.domain to the client, which can cause issues with things that except ASCII URIs as described in the standard.
Nginx should auto-punycode or warn about such return sentences.