add routemap to gitignore
This commit is contained in:
parent
c8fd93570c
commit
df544d6580
2
.gitignore
vendored
2
.gitignore
vendored
@ -130,3 +130,5 @@ dist
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
|
||||
# Routemap ignore
|
||||
routemap.txt
|
||||
|
@ -1,15 +1,14 @@
|
||||
127.0.0.1:9889 {
|
||||
import antiddos;
|
||||
type revHTTP;
|
||||
target https://example.org; # RRR
|
||||
|
||||
querylimit 0;
|
||||
domain localhost {
|
||||
firewall whitelist GLOBAL;
|
||||
type revHTTP;
|
||||
target https://github.com;
|
||||
};
|
||||
domain domain.loc {
|
||||
import example;
|
||||
testi;
|
||||
};
|
||||
}
|
||||
|
||||
127.0.0.1:7889 {
|
||||
|
38
routemap.txt.custom
Normal file
38
routemap.txt.custom
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user