1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/nocat.cfg
2015-02-19 20:11:27 +01:00

45 lines
1.1 KiB
INI

userver {
IP_ADDRESS 10.30.1.131
DOCUMENT_ROOT /usr/lib/nodog.c93
PID_FILE /tmp/nodog.pid
LOG_FILE /tmp/nodog.log
LOG_FILE_SZ 1M
LOG_MSG_SIZE -1
PLUGIN "nocat http"
# PLUGIN "ssi nocat http"
PLUGIN_DIR /usr/src/ULib-1.1.0/src/ulib/net/server/plugin/.libs
REQ_TIMEOUT 5
PREFORK_CHILD 0
MAX_KEEP_ALIVE 50
}
http {
# ALIAS [
# / /nostat
# /env /cgi-bin/printenv.sh
# "!/favicon.ico|/index.html|*.js|/icons/*|/images/*|/themes/*" /nostat
# ]
# CACHE_FILE_STORE /tmp/webif
# URI_PROTECTED_MASK "/cgi-bin/*"
LIMIT_REQUEST_BODY 100K
REQUEST_READ_TIMEOUT 5
}
nocat {
FW_CMD firewall/nodog.fw
DECRYPT_KEY vivalatopa
CHECK_TYPE 4
CHECK_EXPIRE_INTERVAL 360
FW_ENV "ExternalDevice=eth0 MasqueradeDevice=eth0 MasqueradeAuthServiceIP=0 'AuthServiceAddr=http://test' LocalNetwork=192.168.119.0/24 InternalDevice=eth0:1"
LOCAL_NETWORK_LABEL ap
}
ssi {
ENVIRONMENT ~wifi-portal/etc/nodog.env
SSI_AUTOMATIC_ALIASING /nodog.shtml
}
proxy {
Service_GOOGLE_MAP {
METHOD_NAME GET
HOST *.googleapis.com|*.googlecode.com|maps.google.com|maps.gstatic.com|csi.gstatic.com
SERVER $<
}
}