fititnt / ap-application-load-balancer

AP Application Load Balancer (AP-ALB). Sophisticated monolithic Ansible role to manage standalone and clusters of cross-platform and multicloud load balancers. Abstract HAProxy + OpenResty + On-the-fly auto HTTPS. Dedicated to Public Domain.
https://ap-application-load-balancer.etica.ai/
The Unlicense
1 stars 0 forks source link

MVP of configurable HAProxy redirecting for non-localhosts OpenResty #18

Open fititnt opened 5 years ago

fititnt commented 5 years ago

Our /templates/nlb-strategy/haproxy-minimal.cfg.j2 pre v0.8.x is really too minimal. We dont even have some way to, via variables, define redirection to port 80->8080 and 443->4443 for a host different than localhost, so a user would need to use a custom haproxy.cfg.

This issue is for we make it more friendly. Do not need to be perfect (and maybe the fallback without user extra configurations could still redirect to localhost) but we should allow some customization here.

fititnt commented 5 years ago

Related #17