unsubscribe

2020-02-12 Thread Dustin Schuemann



Redirect to HTTPS

2018-10-02 Thread Dustin Schuemann
I would like to redirect everything from HTTP to HTTPS except a specific URL. 
Here is what I have but it doesn’t seem to be working. 

redirect scheme https if !{ ssl_fc } OR !{ hdr(Host) -m -I www.blah.com }

Thanks, 


Re: Server State File not loading.

2018-08-08 Thread Dustin Schuemann
Running in debug mode doesn't show much.

/usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -V
[WARNING] 220/031353 (21386) : stats socket will not work as expected in
multi-process mode (nbproc > 1), you should force process binding globally
using 'stats bind-process' or per socket using the 'process' attribute.
[WARNING] 220/031353 (21386) : Setting tune.ssl.default-dh-param to 1024 by
default, if your workload permits it you should set it to at least 2048.
Please set a value >= 1024 to make this warning disappear.
[WARNING] 220/031353 (21386) : Proxy 'stats': in multi-process mode, stats
will be limited to process assigned to the current request.
Note: setting global.maxconn to 2000.
Available polling systems :
  epoll : pref=300,  test result OK
   poll : pref=200,  test result OK
 select : pref=150,  test result FAILED
Total: 3 (2 usable), will use epoll.

Available filters :
[SPOE] spoe
[COMP] compression
[TRACE] trace
Using epoll() as the polling mechanism.



On Wed, Aug 8, 2018 at 9:24 PM Baptiste  wrote:

> So I don't expect this is a bug
>
> On Thu, Aug 9, 2018 at 4:16 AM, Dustin Schuemann 
> wrote:
>
>> I don’t believe so.
>>
>> I just have IP addresses in my backend configuration
>>
>>
>>
> So I don't expect this is a bug.
> Might be a misconfiguration somwhere.
> What does HAProxy says when you run it in debug mode ?
>


Re: Server State File not loading.

2018-08-08 Thread Dustin Schuemann
I don’t believe so.

I just have IP addresses in my backend configuration 

Sent from my iPhone

> On Aug 8, 2018, at 8:59 PM, Baptiste  wrote:
> 
> 
> 
>> On Thu, Aug 9, 2018 at 3:24 AM, Dustin Schuemann  
>> wrote:
>> I'm using HAproxy 1.8.8 and the server state file won't load. 
>> 
>> My configuration is as follows
>> 
>> [global]
>>   server-state-file /etc/haproxy/haproxy.state
>> [defaults]
>>   load-server-state-from-file global
>> 
>> I've verified that the servers I changed via the socket are in the state 
>> file. 
> 
> 
> Hi Dustin,
> 
> Are you using DNS resolution based on SRV records for those servers? 
> 
> Baptiste