Using two web servers—two unix sockets needed?

We run nginx in front of discourse.

Setting the upstream to the same server would probably work.

upstream discourse {
    server 127.0.0.1:8080;
		keepalive 32;
}