forked from jenssegers/php-proxy
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.php
More file actions
Latest commit
24 lines (20 loc) · 363 Bytes
/
Copy pathconfig.php
File metadata and controls
24 lines (20 loc) · 363 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
/*
* The server you want to proxy to
* Provide without any ports and protocol
*/
$config['server'] = 'my.server.com';
/*
* Forwarding ports for http and https
*/
$config['http_port'] = 8080;
$config['https_port'] = 4433;
/*
* Timeout in seconds
*/
$config['timeout'] = 5;
/*
* HTTP Auth
*/
$config['user'] = 'user';
$config['pass'] = 'pass';