add routemap to gitignore

This commit is contained in:
fullgream 2025-02-24 18:06:33 +03:00
parent c8fd93570c
commit df544d6580
3 changed files with 43 additions and 4 deletions

2
.gitignore vendored
View File

@ -130,3 +130,5 @@ dist
.yarn/install-state.gz .yarn/install-state.gz
.pnp.* .pnp.*
# Routemap ignore
routemap.txt

View File

@ -1,15 +1,14 @@
127.0.0.1:9889 { 127.0.0.1:9889 {
import antiddos;
type revHTTP; type revHTTP;
target https://example.org; # RRR target https://example.org; # RRR
querylimit 0;
domain localhost { domain localhost {
firewall whitelist GLOBAL; firewall whitelist GLOBAL;
type revHTTP; type revHTTP;
target https://github.com; target https://github.com;
}; };
domain domain.loc {
import example;
testi;
};
} }
127.0.0.1:7889 { 127.0.0.1:7889 {

38
routemap.txt.custom Normal file
View File

@ -0,0 +1,38 @@
127.0.0.1:9889 {
type revHTTP;
target https://example.org; # RRR
domain localhost {
firewall whitelist GLOBAL;
type revHTTP;
target https://github.com;
};
domain domain.loc {
import example;
testi;
};
}
127.0.0.1:7889 {
import example, example_custom_auth;
type revHTTP;
target https://google.com;
auth loopback admin qwerty;
#cauth admin 123;
cert public ./tests/pub.crt;
cert private ./tests/priv.key;
}
127.0.0.1:9999 {
type redirectHTTP;
target https://duckduckgo.com;
domain localhost {
type revHTTP;
target https://google.com;
}
}
127.0.0.1:8081 {
type simpleHTTP;
target /;
#showdir;
}