远程用户的IPv6地址显示为localhost

No. You add to the app.yml to have those changes made inside the container.

Edit: See section that says

I think you want to add something like set_real_ip_from YOUR_IPV6;