Consider Caddy as an alternative. Nginx is no better. Both Apache httpd and nginx are old and don’t support newer protocols like HTTP/3. Maybe I’m wrong.

Another issue is with Apache httpd’s routing. Removing the IP messes up routing sometimes when using mod_rewrite.

Sure they do:

https://nginx.org/en/docs/quic.html

https://apisix.apache.org/docs/apisix/http3/

well damn... old dog new tricks. Maybe it's my distro that's old.