# )
# }
- # SCM integration. Set here IP of host running CVS
+ # SCM integration. Set here IP of host running your VCS
$HTTP["remoteip"] != "127.0.0.1" {
$HTTP["url"] =~ "/scm_ping\.php$" {
url.access-deny = ( "" )
}
}
+
+ # IP Restrict XMLRPC
+ $HTTP["url"] =~ "/rpc/xmlrpc.php" {
+ $HTTP["remoteip"] !~ "127.0.0.1" {
+ url.access-deny = ( "" )
+ }
+ }
}
# vim:ts=4