You can look at the web template as an example of how templates work and also find the bit that includes the ipv6 part.
If you don’t know how then it’ll be easiest just to enable ipv6. But you could Google stuff like “nginx enable ipv6” to see what stuff to remove.