That all looks correct to me, I don't see any config issues. If you're trying to get it to work outside of your network, have you made sure to port forward TCP port 3128 to your nginx reverse proxy server?
Your proxmox config file in Nginx will be irrelevant to getting spice to pass through the...