I guess you meant “self hosted”? SaaS (at least from Zammad GmbH) does not include any localhost towards end users.
Your nginx basically tells you that it cannot communicate with Puma (Zammads web server). Without the post template and information on web server configuration etc it will be impossible to help you at all.