Re: rewrite and redirect with haproxy

2016-11-23 Thread Jonathan Opperman
On 24/11/2016 16:47, "Michael Ezzell" wrote: > > On Nov 23, 2016 22:21, "Jonathan Opperman" wrote: > > > https://www.test.1.example.com/ --> https://www-test-1.example.com/ > > > > doesn't work in the browser, is http-request only applicable for and http >

Re: rewrite and redirect with haproxy

2016-11-23 Thread Michael Ezzell
On Nov 23, 2016 22:21, "Jonathan Opperman" wrote: > https://www.test.1.example.com/ --> https://www-test-1.example.com/ > > doesn't work in the browser, is http-request only applicable for and http > request and hot https? No. The http-request directives are the same for

Re: rewrite and redirect with haproxy

2016-11-23 Thread Igor Cicimov
On Thu, Nov 24, 2016 at 2:21 PM, Jonathan Opperman wrote: > On Thu, Nov 24, 2016 at 3:59 PM, Jonathan Opperman > wrote: > >> >> On Thu, Nov 24, 2016 at 3:28 PM, Michael Ezzell >> wrote: >> >>> On Nov 23, 2016 20:16, "Jonathan

Re: rewrite and redirect with haproxy

2016-11-23 Thread Jonathan Opperman
On Thu, Nov 24, 2016 at 3:59 PM, Jonathan Opperman wrote: > > On Thu, Nov 24, 2016 at 3:28 PM, Michael Ezzell > wrote: > >> On Nov 23, 2016 20:16, "Jonathan Opperman" wrote: >> >> >> my.site.example.net/example.com ->

Re: rewrite and redirect with haproxy

2016-11-23 Thread Jonathan Opperman
On Thu, Nov 24, 2016 at 3:28 PM, Michael Ezzell wrote: > On Nov 23, 2016 20:16, "Jonathan Opperman" wrote: > > >> my.site.example.net/example.com -> my-site-example-net.example com > > > > > > This, is this do-able? It will be different domains, and

Re: rewrite and redirect with haproxy

2016-11-23 Thread Michael Ezzell
On Nov 23, 2016 20:16, "Jonathan Opperman" wrote: >> my.site.example.net/example.com -> my-site-example-net.example com > > > This, is this do-able? It will be different domains, and different level sub domains > but they will utimately end up with using *.example.com

Re: Working with Multiple HTTPS Applications with haproxy

2016-11-23 Thread Mirek Svoboda
Hi Deepak, I think you cannot use HTTP samples (e.g. path) on SSL connection not terminated on haproxy. Regards, Mirek Svoboda | +1 (845) 584-1854 | Skype: xsvobo10 On 23 November 2016 at 11:37, Deepak Shakya wrote: > ​ > ​ > I want to setup haproxy to be able to proxy

Re: rewrite and redirect with haproxy

2016-11-23 Thread Michael Ezzell
On Nov 22, 2016 5:37 AM, "Jonathan Opperman" wrote: > I want http://foo.bar.bin/blah.com to redirect to http://foo-bar-bin.blah.com > > I want that last dash-domain to also redirect to SSL. The context of the rest of the message suggests that your first example should have

Define path of configuration files in systemd unit

2016-11-23 Thread Ricardo Fraile
Hello, I'm trying to use the "--" option for load multiple files in a systemd unit, using the following file: [Unit] Description=HAProxy Load Balancer After=network.target [Service] ExecStartPre=/usr/local/sbin/haproxy -c -q -- /etc/haproxy/* ExecStart=/usr/local/sbin/haproxy-systemd-wrapper

Working with Multiple HTTPS Applications with haproxy

2016-11-23 Thread Deepak Shakya
​ ​ I want to setup haproxy to be able to proxy multiple https applications on the same https port Something like this: Client/Browser ---(https)---> haproxy:8443/app1 ---(https)---> app1-server:8101 (Default) Client/Browser ---(https)---> haproxy:8443/app2 ---(https)---> app2-server:8102

Re: 1.7-dev6 build failure on FreeBSD 11.0 amd64 & libressl

2016-11-23 Thread Dave Cottlehuber
> > Am 16.11.2016 um 15:39 schrieb Willy Tarreau: > > > > > > Same here. What is annoying is that every time it appears, it's protected > > > by a #if OPENSSL_VERSION_NUMBER >= 1.1.0 so that means that LibreSSL is > > > spoofing OpenSSL version numbers without providing compatibility. If so, > >