govdanax.blogg.se

Transparent proxy vs reverse proxy witch one bettrer
Transparent proxy vs reverse proxy witch one bettrer






Will give examples that don't work for my use-case at all, even though mine is very simple.īut by god that is strange as www subdomain almost universally points to same stuff as main domain, no?

Transparent proxy vs reverse proxy witch one bettrer how to#

So it should always show how to point to point various subdomains to at least two services, ideally at completely different IP. Reverse proxy is used when need more than one service/server. The first personal self-hosted service I set up was only 1 sub-domain, with nothing at all hosted on the naked domain nor on I still don't have anything hosted on the naked domain nor So the criteria of: Reverse-proxy doesn't necessate 1-to-1 mapping between front-facing server and upstream, and there doesn't need to be more than 1 sub-domain/service. Many of reverse-proxying scenarios are intertwined with load-balancing. There's always room to add more examples on the relevant pages if you want to propose somewhere you think it would fit. I kinda think it's just a matter of having to spend the time reading through more of the documentation pages, I think all the information is there, albeit possibly a bit scattered depending on what you're looking for. No problem! I often make quick PRs to projects within the first few minutes of looking at them if I find a typo! 😛Īnyways - I would say that what you're trying to do specifically is slightly more advanced than the basic use-case, so I don't think it belongs in the quick-start guides. See, explains the structure of a Caddyfile for v2.Ĭaddy follows the same convention as web browsers where if you omit the port, it assumes port 80, unless is specified, in which case it assumes port 443. Url, or domain name, or subdomain name or whatever is the correct termĬaddy uses the term "label" in the docs for that, to encompass the concept of the scheme/domain/IP/port/path combo Here is the config that is obvious to me, understandable

transparent proxy vs reverse proxy witch one bettrer

Its fucking magic considering I spent dozens of hours wrapping my head around traefik and https http redirects and stuff I am plying with caddy v1 right now and this is my first caddyfile reverse proxy I googled out from examples. Maybe Ishould understand it as pointing to 192.101.153.159 and points to 192.118.109.166? But by god that is strange as www subdomain almost universally points to same stuff as main domain, no? What I see confuses me, I see two IPs - 192.101.153.159 and 192.118.109.166, being pointed to having same port, feels like it is load balancing or something. In that example I dont see it there at quick glance.

transparent proxy vs reverse proxy witch one bettrer transparent proxy vs reverse proxy witch one bettrer

No need for more examples, but the one there should be better.






Transparent proxy vs reverse proxy witch one bettrer