https://pve.proxmox.com/wiki/Web_Interface_Via_Nginx_Proxy
The Nginx config file is slightly outdated and also doesn't accomodate IPv6 at all.
This should be reflected in the documentation.
I am not sure where else should I propose this fix/update.
Here's what I propose:
upstream proxmox {...