Skip to content

Instantly share code, notes, and snippets.

@haproxytechblog
Created February 3, 2022 21:37
Show Gist options
  • Save haproxytechblog/54b874d7716884d29ec5dc5d197a2219 to your computer and use it in GitHub Desktop.
Save haproxytechblog/54b874d7716884d29ec5dc5d197a2219 to your computer and use it in GitHub Desktop.

Revisions

  1. haproxytechblog created this gist Feb 3, 2022.
    2 changes: 2 additions & 0 deletions blog20220203-01.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    $ echo "experimental-mode on; add server be_app/server10 10.0.1.5:80 check" |\
    socat stdio tcp4-connect:127.0.0.1:9999
    2 changes: 2 additions & 0 deletions blog20220203-02.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    $ echo "enable server be_app/server10" | socat stdio tcp4-connect:127.0.0.1:9999
    $ echo "enable health be_app/server10" | socat stdio tcp4-connect:127.0.0.1:9999
    2 changes: 2 additions & 0 deletions blog20220203-03.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    $ echo "experimental-mode on; del server be_app/server10" |\
    socat stdio tcp4-connect:127.0.0.1:9999