Skip to content

Instantly share code, notes, and snippets.

View wiktor-falek's full-sized avatar

Wiktor wiktor-falek

  • Sweden
View GitHub Profile
@wiktor-falek
wiktor-falek / haproxy.cfg
Created May 28, 2023 14:56 — forked from sourcec0de/haproxy.cfg
Here's a sample WORKING haproxy config for websockets / socketio. We were able to get socketio working on an Amazon ELB with just one node, but when we added multiple nodes, we saw weird client issues. So, we decided to use HAProxy on Ubuntu 12.04 and spent significant time trying to get just the right configuration (haproxy.cfg). Note though th…
global
#debug
#daemon
log 127.0.0.1 local0
defaults
log global
option httplog
frontend unsecured *:80