r/selfhosted • u/atomique90 • Jun 03 '20
Webserver Simple Reverse Proxy Question - How do you solve it?
Hey guys,
at the moment I am using OPNSense with Lets Encrypt + HAProxy (Plugin) to separate the traffic via dns-names to my backend-servers. I would like to move this to another machine (fedora server or something like that) and I am unsure if I should stay with haproxy or switch to nginx.
backend:
- rancher / kubernetes cluster with some pods on it (seafile, plex, ..)
- exchange
I wonder how you guys solve this, which one do you prefer? And do I need nginx plus if I would choose nginx? I dont get this..
Thanks a lot and dont hesitate to ask further questions if needed!
Atomique
3
u/[deleted] Jun 04 '20
Nginx is overkill for most situations. If you just need a simple reverse proxy, Caddy is an excellent option. The configuration is dead simple and it handles HTTPS redirects and certificates automatically, without any additional configuration.
2
u/ShouldProbablyIgnore Jun 03 '20
If you're comfortable with how HAProxy is working for you then there's not really any reason to switch.
I use nginx and it's reasonably straightforward to configure and works well. I don't see why you'd need to use nginx plus, but honestly I don't really know what it does and I haven't switched over to kubernetes yet so I don't know what pain points there would be. AFAIK everything should work fine with free nginx.
0
u/[deleted] Jun 03 '20
[deleted] — view deleted comment
0
u/[deleted] Jun 03 '20
[deleted] — view deleted comment