git ssb

1+

xj9 / sunshine-gardens-clubhouse



forked from xj9 / sunshinegardens.org

assess service bridge routing architecture

%ScJeDI09QPEPf/FkL9tkevRawG70bSm7v7R9rkWeZYM=.sha256
Openxj9 opened this issue on 4/22/2020, 9:20:08 PM

assess service bridge routing architecture

net -> nginx -> yggdrasil -> nginx -> $service
net <- tinyproxy <- yggdrasil <- $service

null.media is running a variant with tinyproxy setup as a reverse proxy instead of nginx. in order to improve security and optimize routing over yggrasil from the edge servers to member-operated application servers i propose replacing nginx with a solution based on hitch and squid.

squid offers much more robust proxying features than nginx and hitch can handle ssl termination with a much smaller amount of code than nginx. squid many also be able to take over for tinyproxy for outbound proxy workloads.

net -> hitch -> squid -> yggdrasil -> squid -> $service
net <- squid <- yggdrasil <- $service

in the first case, $service could also use squid for outbound http requests so our service configs can just assume that the outbound proxy lives on localhost.

Built with git-ssb-web