title: HAProxy - basic authentication for backend server
body: <p>I use the following configuration to access internet from local 127.0.0.1:2000 proxy to the internet.:</p>
  
  <pre><code>global
      log 127.0.0.1   local0
      log 127.0.0.1   local1 notice
      #log loghost    local0 info
      maxconn 4096
      #chroot /usr/share/haproxy
      user haproxy
      group haproxy
      daemon
      #debug
      #quiet
  
  defaults
      log global
      mode    http
      option  httplog
      option  dontlognull
      retries 3
      option redispatch
      maxconn 2000
      contimeout  5000
      clitimeout  50000
      srvtimeout  50000
  
  listen appname 0.0.0.0:2000
      mode http
      stats enable
      acl white_list src 127.0.0.1 
      tcp-request content accept if white_list
      tcp-request content reject
      stats uri /haproxy?stats
      stats realm Strictly\ Private
      stats auth special_admin:special_username
      balance roundrobin
      option httpclose
      option forwardfor
      server lamp1 23.123.1.110:3128 check
  </code></pre>
  
  <p>Unfortunately I need to authenticate to my external proxy 23.123.1.110 via http basic authentication "special_admin:special_username". 
  My question is,  is there any way to use basic authentication like : </p>
  
  <pre><code>server lamp1 http://special_admin:special_username@23.123.1.110:3128 check
  </code></pre>
  
  <p>Thanks</p>