Re: apache proxy pass rules in HAproxy

2018-10-31 Thread Imam Toufique
igure shibboleth to use https://proxy.example.com/Shibboleth.sso > urls. > > Configure jupyter to trust X- headers: NotebookApp.trust_xheaders > and maybe you need to use NotebookApp.custom_display_url so jupyter > knows it's url is https://proxy.example.com/jhub. > > -Jarno > > -- > Jarno Huuskonen > -- Regards, *Imam Toufique* *213-700-5485*

Re: apache proxy pass rules in HAproxy

2018-10-29 Thread Imam Toufique
se https://proxy.example.com/Shibboleth.sso > urls. > > Configure jupyter to trust X- headers: NotebookApp.trust_xheaders > and maybe you need to use NotebookApp.custom_display_url so jupyter > knows it's url is https://proxy.example.com/jhub. > > -Jarno > > -- > Jarno Huuskonen > -- Regards, *Imam Toufique* *213-700-5485*

Re: apache proxy pass rules in HAproxy

2018-10-28 Thread Imam Toufique
for crsplabweb2.example.com to the public > IP of haproxy. > > On Mon, Oct 29, 2018 at 2:36 PM Imam Toufique wrote: > >> " Well you need to point crsplabweb2.example.com to the haproxy IP >> that's the whole point of it running behind a proxy. Or am I missing >&

Re: apache proxy pass rules in HAproxy

2018-10-28 Thread Imam Toufique
I would like to keep using haproxy :-) , don't get me wrong. Perhaps I am not getting the clear picture here. --imam On Sun, Oct 28, 2018 at 9:21 PM Igor Cicimov wrote: > The DNS, point the DNS record for crsplabweb2.example.com to the public > IP of haproxy. > > On Mon, Oct 29,

Re: apache proxy pass rules in HAproxy

2018-10-28 Thread Imam Toufique
you need to point crsplabweb2.example.com to the haproxy IP that's > the whole point of it running behind a proxy. Or am I missing something? > > On Mon, Oct 29, 2018 at 1:28 PM Imam Toufique wrote: > >> Hi Igor, >> >> Thank you so much, I will definitely try your

Re: apache proxy pass rules in HAproxy

2018-10-28 Thread Imam Toufique
run in the same node ( as far as I know ). So, I am not sure how shibboleth will be able to communicate with the HAP for its SSO calls. --imam On Sun, Oct 28, 2018 at 5:21 PM Igor Cicimov wrote: > Hi Imam, > > On Sat, Oct 27, 2018 at 4:42 PM Imam Toufique wrote: > >> Hi Igor

Re: apache proxy pass rules in HAproxy

2018-10-28 Thread Imam Toufique
eks > > -- > *Von:* Imam Toufique > *Gesendet:* 27. Oktober 2018 19:06:50 MESZ > *An:* al-hapr...@none.at > *CC:* Igor Cicimov , haproxy < > haproxy@formilux.org> > *Betreff:* Re: apache proxy pass rules in HAproxy > > Hi Aleks, >

Re: apache proxy pass rules in HAproxy

2018-10-27 Thread Imam Toufique
Thoughts? On Sat, Oct 27, 2018 at 4:31 AM Aleksandar Lazic wrote: > Hi Imam. > > It would be helpfull to know your used versions: > > haproxy -vv > apache httpd version > shibboleth version > > A small workflow picture like: > > Client -> haproxy -> apac

Re: apache proxy pass rules in HAproxy

2018-10-26 Thread Imam Toufique
HER}x \"%r\" %b" -- Thanks On Fri, Oct 26, 2018 at 8:34 PM Igor Cicimov wrote: > Hi Imam, > > On Sat, Oct 27, 2018 at 9:37 AM Imam Toufique wrote: > >> Hi, >> >> I came up with the following config, things seem to be working now, for >> the most

Re: apache proxy pass rules in HAproxy

2018-10-26 Thread Imam Toufique
.*):80(.*) Location:\ https:// > crsplab2.domain.com <http://crsplab2.domain.com/jhub/user/itoufiqu/tree>:443\2 > if { ssl_fc } > > to fix the URL but note that this will not save you from hard coded url's > in the returned html pages the way apache does. > > >> >

Re: apache proxy pass rules in HAproxy

2018-10-25 Thread Imam Toufique
.10.2018 um 09:04 schrieb Imam Toufique: > > I am looking for some help on how to write the following apache > proxypass rules > > in HAproxy. Not to mention I am at a bit of loss with my first try :-) > . Here > > are my current proxypass rules: > >

Re: apache proxy pass rules in HAproxy

2018-10-23 Thread Imam Toufique
Ok, I will give that a try. thanks. On Tue, Oct 23, 2018 at 5:40 PM Igor Cicimov wrote: > > > On Wed, Oct 24, 2018 at 11:35 AM Imam Toufique > wrote: > >> Not completely there yet, but I at least got the backend server login >> screen to come up with the follo

Re: apache proxy pass rules in HAproxy

2018-10-23 Thread Imam Toufique
Error Redirect loop detected. Not sure why I am getting this error. the application is jupyterhub , it runs OK with Apaches reverse proxy . On Tue, Oct 23, 2018 at 8:35 AM Aleksandar Lazic wrote: > Hi. > > Am 23.10.2018 um 09:04 schrieb Imam Toufique: > > I am looking for some

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-23 Thread Imam Toufique
Thank you, Lukas and Brain! I came to HAproxy / web services world after a very long time :-) , you guys have been extremely helpful to me. :-) . and I sincerely appreciate it. On Tue, Oct 23, 2018 at 7:01 AM Lukas Tribus wrote: > Hello, > > On Tue, 23 Oct 2018 at 02:25, Imam Toufiq

apache proxy pass rules in HAproxy

2018-10-23 Thread Imam Toufique
I am looking for some help on how to write the following apache proxypass rules in HAproxy. Not to mention I am at a bit of loss with my first try :-) . Here are my current proxypass rules: ProxyPass http://10.1.100.156:8000/jhub ProxyPassReverse http://10.1.100.156:8000/jhub ProxyPassMat

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
> > ExecReload=/bin/kill -USR2 $MAINPID > > KillMode=mixed > > Restart=always > > > > [Install] > > WantedBy=multi-user.target > > > > *From:* Imam Toufique [mailto:techie...@gmail.com] > *Sent:* Monday, October 22, 2018 8:09 PM > *To:* Gibson,

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
add USE_SYSTEMD=1 to your compile. > > Sent from Nine<http://www.9folders.com/> > > From: Imam Toufique > Sent: Monday, October 22, 2018 7:49 PM > To: Gibson, Brian (IMS) > Cc: haproxy > Subject: Re: HAproxy fails to start in CentO

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Sent from Nine<http://www.9folders.com/> > ____ > From: Imam Toufique > Sent: Monday, October 22, 2018 7:45 PM > To: haproxy > Subject: HAproxy fails to start in CentOS with 'systemctl reload' ? > > Hi, > > I ran into this tw

Re: HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
x27;t find it anywhere else. > > Any suggestion would be very helpful. > > Thanks. > > > > > > Information in this e-mail may be confidential. It is intended only for > the addressee(s) identified above. If you are not the addressee(s), or an > employee or agent of the addressee(s), please note that any dissemination, > distribution, or copying of this communication is strictly prohibited. If > you have received this e-mail in error, please notify the sender of the > error. > -- Regards, *Imam Toufique* *213-700-5485*

HAproxy fails to start in CentOS with 'systemctl reload' ?

2018-10-22 Thread Imam Toufique
Hi, I ran into this twice in last 2 days, where HAproxy fails to start in centOS 7.5. I compiled the latest stable from source and it did not have any startup scripts in the tarball that I downloaded. So, I broke up an older RPM file from fedora and used it /etc/init.d/haproxy script. It works f

Re: HAproxy ssh connection closes fast , after logon

2018-10-20 Thread Imam Toufique
39 AM Aleksandar Lazic wrote: > Hi. > > Am 20.10.2018 um 09:48 schrieb Imam Toufique: > > Thanks, Jarno! > > > > Brian Gibson helped me out! thanks, Brian! > > Would be nice to know what's the solution was, thanks. > > Regards > Aleks &g

Re: HAproxy ssh connection closes fast , after logon

2018-10-20 Thread Imam Toufique
Thanks, Jarno! Brian Gibson helped me out! thanks, Brian! On Sat, Oct 20, 2018 at 12:10 AM Jarno Huuskonen wrote: > Hi, > > On Fri, Oct 19, Imam Toufique wrote: > > I am working on setting up ssh / sftp capability with HAProxy, > > initial setup is done ( thanks to some

HAproxy ssh connection closes fast , after logon

2018-10-19 Thread Imam Toufique
config files anywhere. can you guys help me with some hints? thanks, as always! -- Regards, *Imam Toufique* *213-700-5485*

Re: need help with sftp and http config on a single config file

2018-10-19 Thread Imam Toufique
Fri, Oct 19, 2018 at 12:02 AM Jarno Huuskonen wrote: > Hi, > > On Thu, Oct 18, Imam Toufique wrote: > > *[root@crsplabnet2 examples]# haproxy -c -V -f /etc/haproxy/haproxy.cfg* > > *Configuration file is valid* > > > > *when trying to start HA proxy, i s

need help with sftp and http config on a single config file

2018-10-18 Thread Imam Toufique
socket [0.0.0.0:22 <http://0.0.0.0:22>]* *I am not sure what I am doing wrong here. I have not setup sftp and http in one system before.* *Can you please give me a hand with this? * *thanks a lot!* -- Regards, *Imam Toufique* *213-700-5485*

HAProxy / shibboleth ( SP ) authentication question

2018-10-13 Thread Imam Toufique
Hello, I have been searching for an answer whether HAProxy can forward authentication request from shibboleth SP. Here is my proposed setup for delivering some web contents. A. load balancer is HAPorxy B. 3 web servers behind HA proxy -- > clients go to the proxy address: https://example.com -

Re: cannot bind socket - Need help with config file

2018-01-10 Thread Imam Toufique
18 at 4:00 PM, Lukas Tribus wrote: > Hello Imam, > > > On Wed, Jan 10, 2018 at 11:49 PM, Imam Toufique > wrote: > > Lukas, > > > > Sorry to keep on dragging this, I am confused here. I will admit that I > > have not had the time to read the documentat

Re: cannot bind socket - Need help with config file

2018-01-09 Thread Imam Toufique
Tue, Jan 9, 2018 at 2:12 AM, Lukas Tribus wrote: > Hello Imam, > > > On Tue, Jan 9, 2018 at 2:30 AM, Imam Toufique wrote: > > > > Hi Jonathan, and Lucas, > > > > Thanks for your replies. With your help, I was able to get it work > > partially. &g

cannot bind socket - Need help with config file

2018-01-08 Thread Imam Toufique
Hi, I need some help figuring out why my config below is failing to start the haproxy daemon. I am totally new to this. Below is my confg: global # local2.* /var/log/haproxy.log # log 127.0.0.1 local2 #local2.* /var/log/haproxy.log chroot /var/log/haproxy #stats timeo

High throughput SFTP server load balancing with HAProxy

2018-01-06 Thread Imam Toufique
Hi, I just started reading about HAProxy, I am very much new to it. I am planning to deploy 4 SFTP servers and a HAProxy balancer. In this setup, I am anticipating quite an intense level of file transfer activities to/from these SFTP servers. I am not sure how HAProxy would handle the very high