Update nginx.tmpl

Add ipv6 support