The mirror for Zoraxy dev source (ReverseProxy) over hkwtc git
![]() |
9 ore fa | |
---|---|---|
build | 2 settimane fa | |
deprecated | 2 mesi fa | |
docs | 8 mesi fa | |
log | 1 anno fa | |
mod | 9 ore fa | |
nt61_build | 8 mesi fa | |
res | 1 anno fa | |
system | 8 mesi fa | |
test | 11 mesi fa | |
tmp | 9 mesi fa | |
tools | 1 mese fa | |
web | 2 giorni fa | |
www | 4 giorni fa | |
.gitignore | 1 anno fa | |
LICENSE | 3 anni fa | |
Makefile | 7 mesi fa | |
README.md | 3 anni fa | |
accesslist.go | 3 mesi fa | |
acme.go | 2 giorni fa | |
api.go | 1 settimana fa | |
autopush.sh | 1 anno fa | |
backup.db | 1 anno fa | |
build.bat | 3 anni fa | |
build.sh | 3 anni fa | |
build_linux.bat | 8 mesi fa | |
cert.go | 2 mesi fa | |
config.go | 1 settimana fa | |
def.go | 2 giorni fa | |
emails.go | 8 mesi fa | |
go.mod | 2 giorni fa | |
go.sum | 2 giorni fa | |
main.go | 1 mese fa | |
redirect.go | 1 settimana fa | |
reverseproxy.go | 2 giorni fa | |
router.go | 3 mesi fa | |
routingrule.go | 9 mesi fa | |
sh.exe.stackdump | 1 anno fa | |
start.go | 1 mese fa | |
start.sh | 9 mesi fa | |
sys.db_backup | 3 mesi fa | |
sys.uuid | 1 anno fa | |
upstreams.go | 2 giorni fa | |
vdir.go | 7 mesi fa | |
webssh.go | 3 mesi fa | |
wrappers.go | 2 mesi fa | |
zoraxy | 3 mesi fa |
Reverse proxy subservice for ArozOS
Git clone this inside the subservice folder of ArozOS, build it and start it up in ArozOS subservice menu.
You can also use it separately as a really basic reverse proxy server that server website based on domain / virtual directories. You can also add another load balancer in front of multiple reverse proxy server nodes if it is necessary in your case.
Requirement: Go 1.16 or above
cd ~/arozos/subservices
git clone {this_repo}
cd ReverseProxy
./build.sh
To start the module, make sure .disabled file does not exists and start arozos system. You should be able to see a new module named "ReverseProxy" pop up in the start menu.
There are two mode in the ReverseProxy Subservice
Vdir mode proxy web request based on the virtual directories given in the request URL. For example, when configured to redirect /example to example.com, any visits to {your_domain}/example will be proxied to example.com.
Subd mode proxy web request based on sub-domain exists in the request URL. For example, when configured to redirect example.localhost to example.com, any visits that includes example.localhost (e.g. example.localhost/page1) will be proxied to example.com (e.g. example.com/page1)
Root proxy is the main proxy destination where if all proxy root name did not match, the request will be proxied to this request. If you are working with ArozOS system in default configuration, you can set this to localhost:8080 for any unknown request to be handled by the host ArozOS system