Add stream config part for NGINX Home Assistant SSL proxy AddOn

Hey there!

I recently installed the NGINX Home Assistant SSL proxy AddOn, which works pretty nice so far.

I was wondering, if the configuration could be extended to also import nginx configs for the “stream” part of its main configuration (if existing - like it’s doing with other server configs). Currently there’s only “http” configured, which prevents users to also proxy TCP traffic (like smtps, imaps or other stuff).

The reason I want to have it in NGINX Home Assistant SSL proxy is, this AddOn is using the certs from the Let’s Encrypt AddOn - and I would love to see my smtps/imaps/etc. traffic also using these certificates…

– I guess in that regard it would also be a feature request to be able to add additional ports the nginx will expose (currently there’s only one for https and one for http available).