Home > OS >  HAProxy 2.5 http-request replace-path not working correctly
HAProxy 2.5 http-request replace-path not working correctly

Time:01-14

I need to have 301 redirect from example.com to www.example.com and from www.example.com/fr to www.example.com/fr/eshop

My haproxy.cfg:

global
    log stdout format raw local0

defaults
    log         global
    mode        http
    option      dontlognull
    option      http-ignore-probes
    log-format  "%ci:%cp [%tr] %ft %b/%s %TR/%Tw/%Tc/%Tr/%Ta %ST %B            
  •  Tags:  
  • Related