Making supervisord web interface viewable on nginx

using the inet interface on supervisord was simple ( proxying to port
9001)

i wanted to turn that off, avoid tcp and just use the unix socket

after a bit of tinkering, this seems to work :

proxy_pass http://unix:///tmp/supervisord.sock:;

is this correct way to handle this ?