HAProxy forwarding custom port

Hi, just a small note of am being doing. That to setup HAProxy to forward custom port request to one of my nodejs server.

Add these into existing /etc/haproxy/haproxy.cfg

frontend mynodejs
  bind *:3000
  default_backend nodejs

backend nodejs
  server nodejs1
Source of snippet is from here
Have fun ^.^


Popular posts from this blog

Arduino RFID, RC522, VUSB HID as Keyboard

Compile PHP with unixODBC options

Error: cannot find symbol import android.support.v4.app.ActivityCompat