Today I had a task which sounded like this “Change for balancer urls for this VIP – vip:8080 -> server* 16081/int” Long story short: frontend my_vip bind x.x.x.x:8080 mode http maxconn 30000 default_backend my_backend backend my_backend mode http balance leastconn acl int_prefix path_beg /int reqrep ^([^\ :]*)\ … Continue reading haproxy: rewrite request aka prefix url
A while ago I had to renew the SSL certificate for a website I’m taking care of. How do I verify that a private key matches a certificate? How do I verify that a CSR matches a certificate match?
Assuming you have a LDAP server somewhere and you don’t want to authenticate users via htpasswd file anymore… I mean, having all your users in one place is a good thing – it’s debatable, but in general is a good thing, right? Now, the technical part… My LDAP structure is like this: – groups: cn=group,ou=groups,dc=example,dc=com … Continue reading Enable LDAP authentication in Apache