forked from mcnemesis/proxy.php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
21 lines (18 loc) · 706 Bytes
/
config.php
File metadata and controls
21 lines (18 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
/**
* Place here any hosts for which we are to be a proxy -
* e.g. the host on which the J2EE APIs we'll be proxying are running
*/
$SETTING_ALLOWED_HOSTS = array(
'localhost','127.0.0.1', 'httpbin.org' # change to restrict list to only domains you wish to allow clients to call via this proxy
);
/**
* Default csurl value, to be used if not explictly passed
* this option allow to omit the csurl in the query of every request
*/
# $SETTING_CSURL_DEFAULT = "http://destination.com";
/**
* Url of the proxy, needed if the proxy is used in transparent mode
* Uncomment and change with the current proxy path when the transparent mode is enabled
*/
# $SETTING_PROXY_PATH = "/proxy/proxy.php";