1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/proxy.cfg
2015-01-23 17:24:36 +01:00

57 lines
893 B
INI

proxy {
# include proxy_err_msg.cfg
Service_WAYF {
URI ^/(WAYF/?|SWITCHaai/images/.*\.gif$)
HOST 10.30.1.131:444
SERVER 10.30.1.131
}
Service_IDP {
URI ^/shibboleth-idp/SSO
HOST 10.30.1.131:444
METHOD_NAME GET
SERVER laptop
FOLLOW_REDIRECTS yes
USER user01
PASSWORD stefano1
}
Service_webmail_login {
URI ^/webmail/src/login.php$
HOST 10.30.1.131
ENVIRONMENT "USERNAME=l.ghivizzani12@eraclito.unirel.test \
PASSWORD=sandra"
COMMAND cgi-bin/printenv.sh
RESPONSE_TYPE yes
}
Service_webmail {
REPLACE_RESPONSE [
"^Location: http:" "Location: https:"
]
URI /webmail
HOST 10.30.1.131
SERVER ca.eraclito.unirel.test
}
Service_gmail {
HOST laptop
SERVER gmail.google.com
}
}