On Wed, Oct 24, 2018 at 11:35 AM Imam Toufique <techie...@gmail.com> wrote:

> Not completely there yet, but I at least got the backend server login
> screen to come up with the following:
>
> frontend
> acl host_web3 path_beg /jhub
> use_backend web3_cluster if host_web3
>
> backend
> backend web3_cluster
>    mode http
>    #http-request set-header Host bk.dom.com
>    balance roundrobin # roundrobin is rotate customers into backend server
>    server  web1 10.1.100.156:8000/jhub check inter 2000 cookie w1
>    server  web2 10.1.100.160:8000/jhub check inter 2000 cookie w1
>
>
> I am running into a redirect loop , I cant login to the backend UI, i get
> this error:
>
>      500 : Internal Server Error
>
> Redirect loop detected.
>
>
> Not sure why I am getting this error.  the application is jupyterhub , it
> runs OK with Apaches reverse proxy .
>
Try:

   server  web1 10.1.100.156:8000 <http://10.1.100.156:8000/jhub> check
inter 2000 cookie w1
   server  web2 10.1.100.160:8000 <http://10.1.100.160:8000/jhub> check
inter 2000 cookie w1

Reply via email to