listen: - 127.0.0.3:8080 debug-routing: true routing: "*": chat "*/empty.gif": empty-gif "*/favicon.ico": public "*/sockjs-node": socksjs "*/~~swindon-status": status handlers: chat: !SwindonLattice session-pool: chat http-route: html compatibility: v0.6.2 message-handlers: "*": chat empty-gif: !EmptyGif status: !SelfStatus public: !Static mode: relative_to_domain_root path: ./public text-charset: utf-8 html: !Proxy destination: webpack # The way socksjs does websocket emulation: it creates a response with # chunked encoding. While we might be able to process it well, it occupies # connection and the request that is pipelined after this one hangs # indefinitely. So we need separate connection pool for such connections socksjs: !Proxy destination: socksjs-emu session-pools: chat: listen: [127.0.0.1:8091] inactivity-handlers: [chat] http-destinations: chat: override-host-header: swindon.internal addresses: - 127.0.0.1:8082 webpack: addresses: - 127.0.0.1:3000 socksjs-emu: addresses: - 127.0.0.1:3000 backend-connections-per-ip-port: 100 in-flight-requests-per-backend-connection: 1 queue-size-for-503: 1 replication: listen: - 127.0.0.2:7878 peers: - 127.0.0.3:7878