Gentoo Archives: gentoo-user

From: Grant Taylor <gtaylor@×××××××××××××××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Reverse Proxy with Apache2
Date: Tue, 18 Jan 2022 23:23:56
In Reply to: Re: [gentoo-user] Reverse Proxy with Apache2 by Anatoly Laskaris
1 On 1/18/22 1:30 PM, Anatoly Laskaris wrote:
2 > Age migth mean a lot when we are talking about software. Modern software
3 > usually is easier to configure, has sane defaults, more secure and has
4 > integration with other modern software.
6 I'll concede that those points are /possibilities/. But they are not
7 guaranteed.
9 > And is much more popular in the community meaning better support.
11 I do not agree that something being more common means, much less
12 implies, better support. There are an awful lot of bad recommendations
13 all over the Internet.
15 > I'm was not talking about adding software, I was talking about replacing
16 > software.
18 But you are. Replacing something inherently implies adding and / or
19 configuring something old with something new.
21 > Time saved in managing complex software that does a simple task can
22 > be applied elsewhere.
24 Sometimes yes, sometimes no.
26 > In regards to "already having a software" most modern applications don't
27 > require "having" them. It works out of the box, usually with one command
28 > and you can switch parts of your infrastructure without pain thanks to
29 > containers (or statically linked binaries in golang and rust) without
30 > downtime (if done right).
32 "if done right" is so over the top the /operative/ /phrase/ of that
33 statement that it's not even remotely funny.
35 > Dynamic ports with service discovery == no port conflicts.
37 There's no dynamic ports / service discovery in what the OP asked about.
39 The OP asked how to configure a feature (reverse proxy) of the software
40 that they are already (Apache HTTPD) using for a part of a URL
41 ( for a service that's currently listening
42 on a given IP and port pair (
44 So please elaborate on what the right way is to replace (as in add new
45 and remove old) the existing software /or/ split the IP & port
46 ( TCP port 443) across multiple daemons is. I would very
47 much be interested in learning how to do this the right way.
49 I can think of many ways to do this, but all of which require something
50 intercepting the port & IP pair at some point up stream.
52 > Not that old as apache.
54 I take your statement to be that the Apache HTTPD developers and
55 administrators have more experience than Nginx / caddy / traefik
56 developers and administrators by the simple fact that it has existed longer.
58 What /new/ thing are you using to communicate with caddy / traefik if
59 you don't use the old crufty IPv4 / IPv6?
61 > Nginx is still widly used (contrast to apache),
63 The first four reports I found when searching for web server popularity
64 show that Apache and Nginx are the top two popular servers. Which one
65 is number one depends on the report.
67 Link - Global Web Server Market Share January 2022
68 -
70 Link - Web and Application Servers Software Market Share
71 -
73 Link - Usage statistics of web servers
74 -
76 Link - January 2022 Web Server Survey
77 -
79 My opinion is that being the first, or the close second is a good
80 indication that Apache is still wildly used.
82 > but is being replaced by caddy/traefik. Apache is ancient and I've
83 > never seen it running in production.
85 If you've never seen the first or second most popular web server running
86 in production, I can only question where you are looking.
88 I know multiple people that have run Apache HTTP Server (both by Apache
89 and rebranded by IBM / Oracle) web server in production on multiple
90 platforms for each and every year for the last two decades. I've
91 personally run Apache in production for that entire time.
95 --
96 Grant. . . .
97 unix || die