frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: Why put a HAProxy in front of Nginx?

2•rvitorper•1h ago
Hey, thanks for your time in advance.

I saw in a few comments people talking about having a HAProxy in front of a Nginx, which in turn acts as the reverse proxy to the app instances.

I wanted to understand what use-cases is this architecture viable and recommended, if you could just remove the HAProxy and have Nginx as the public facing server or maybe remove the Nginx altogether, and if there are other factors to use the HAProxy and the Nginx, such as pairing them with a few Varnish instances.

Thanks a lot for your time

Comments

theandrewbailey•1h ago
HAProxy is primarily used as a load balancer. (HA = high availability) The feature sets of it and Nginx have lots of overlap (including reverse proxy), but HAProxy does not serve pages (aside from error pages), so you will need Nginx or another real webserver somewhere.

I use HAProxy to terminate TLS and HTTP/3, route to other webservers based on subdomain, and reverse proxy/cache. I'm 100% sure Nginx can do all that, though.

Finetuning Is So Back

https://madiator.substack.com/p/finetuning-is-so-back
1•madiator•34s ago•0 comments

I Am Sitting in a Room – Alvin Lucier (1981)

https://www.youtube.com/watch?v=fAxHlLK3Oyk
1•Kaibeezy•48s ago•0 comments

ISP Blocking of No-IP's Dynamic DNS Enters Week 2

https://torrentfreak.com/isp-blocking-of-no-ips-dynamic-dns-enters-week-2-251019/
1•HotGarbage•1m ago•0 comments

Australia and its peoples is vast and deep

https://www.abc.net.au/news/deeptime/tell-me-a-story/
1•Rexxar•2m ago•0 comments

Nixers in Paris

https://mtende.blog/nixers-in-paris
1•sonderotis•3m ago•0 comments

Show HN: Pyversity – Fast Result Diversification for Retrieval and RAG

https://github.com/Pringled/pyversity
1•Tananon•4m ago•0 comments

Is YouTube throtting some content?

1•OOvsuOO•7m ago•0 comments

The Best to Way to Learn Might Be Starting at the End: Writing a Proof in Lean

https://interjectedfuture.com/the-best-way-to-learn-might-be-starting-at-the-end/
1•iamwil•7m ago•0 comments

A pull request fairy tale in the age of AI

https://jtemporal.com/the-writer-and-the-bot-fairy-tale/
1•jairojair•10m ago•0 comments

Lighthouses of Malawi

https://www.ibiblio.org/lighthouse/mwi.htm
1•thunderbong•11m ago•0 comments

Whose Cup Are You Filling?

https://www.derekthompson.org/p/whose-cup-are-you-filling
1•herbertl•16m ago•0 comments

Why AI Companies Are Racing to Build a Virtual Human Cell

https://time.com/7324119/what-is-virtual-cell/
1•herbertl•16m ago•0 comments

The State of AI in SaaS

1•sskates•17m ago•0 comments

How I made my own web server in Gleam

https://wskiy.de/blog/making_my_own_web_server_in_gleam
4•crowdhailer•24m ago•0 comments

Scx: Sched_ext Schedulers and Tools

https://github.com/sched-ext/scx
1•birdculture•24m ago•0 comments

Louvre shut down today after thieves steal historical jewels at 9:30 am local

https://www.ft.com/content/546d58bb-8dcd-4d99-9fac-890709d955b3
1•bookofjoe•25m ago•1 comments

Why Manipulation Is "Harder" Than Locomotion

https://brysonkjones.substack.com/p/why-manipulation-is-harder-than-locomotion
1•FromTheArchives•26m ago•0 comments

Covid mRNA vaccine sparks immune response to fight cancer

https://medicalxpress.com/news/2025-10-covid-mrna-vaccine-immune-response.html
2•geox•28m ago•0 comments

Installing Proxmox on Hetzner with ZFS full-disk encryption and remote unlocking

https://blog.louis-vallat.dev/proxmox-with-zfs-full-disk-encryption-and-remote-unlocking-on-hetzner/
1•saligne•30m ago•0 comments

Xubuntu.org Might Be Compromised

https://old.reddit.com/r/xubuntu/comments/1oa43gt/xubuntuorg_might_be_compromised/
3•nreece•30m ago•0 comments

Mythbuster's Jamie Hyneman's Two Page Website

https://m5industries.com/
2•tetris11•31m ago•1 comments

How Common Is Accidental Invention?

https://www.construction-physics.com/p/how-common-is-accidental-invention
2•FromTheArchives•32m ago•0 comments

Replacement.ai

https://replacement.ai
68•wh313•33m ago•5 comments

Digital Asset Treasuries Collapse Marks End of Paper Wealth Era

https://www.bitget.com/news/detail/12560605020802?hl=en-US
1•b16m•36m ago•0 comments

Show HN: EraseVideo – a Free Mac app removes Sora video watermark in 1 minute

https://erasevideo.app
1•qzcanoe•37m ago•0 comments

Show HN: Web-directive.js – A directive pattern for native HTML

https://github.com/asika32764/web-directive
1•asika32764•39m ago•0 comments

New User Trends on Wikipedia

https://diff.wikimedia.org/2025/10/17/new-user-trends-on-wikipedia/
2•bookofjoe•39m ago•0 comments

Updating Mental Models of Risk

https://issues.org/mental-models-complex-risk-schoonover-aldrich-hoyer/
1•FromTheArchives•39m ago•0 comments

Why Did Endurance Sink?

https://www.cambridge.org/core/journals/polar-record/article/why-did-endurance-sink/6CC2C2D560870...
2•pseudolus•42m ago•0 comments

Rare human syndrome may explain why dogs are so friendly (2017)

https://www.aip.org/inside-science/rare-human-syndrome-may-explain-why-dogs-are-so-friendly
1•softwaredoug•44m ago•0 comments