Added ssl certificate generation and minor optimization
Added nginx templates for upstream and http/https proxy
Added nginx configuration writer and incorporated it into container commands