I cannot find any google results for
"server unix:/var/www/discourse/tmp/sockets/thin.0.sock;". Therefore I think it is not actually used by anyone in public writing about discourse in that way.
It would be more useful to use the same as web.socketed.template.yml. Would make the example a bit easier to understand.