39 lines
732 B
Plaintext
39 lines
732 B
Plaintext
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;
|
|
}
|