split nginx.tmpl to support stream module

Author: lloydzhouCreated Apr 8, 2025Updated Jul 13, 2025

i think, can split nginx.tmpl in two files: upstream.tmpl --> upstream.conf server.tmpl --> default.conf

then, can include upstream.conf in http block and stream block

related #792 #979 #1009 #759 #2078