15 lines
318 B
PHP
15 lines
318 B
PHP
<?php
|
|
|
|
$config = [
|
|
"auth" => [
|
|
METHOD_NO_AUTH => true,
|
|
METHOD_USER_PASS => function ($request) {
|
|
return $request['user'] == 'user' && $request['pass'] == 'pass';
|
|
}
|
|
],
|
|
"log_level" => LOG_DEBUG,
|
|
"tcp_port" => 20501,
|
|
"udp_port" => 0,
|
|
"wanIP" => '10.88.0.4',
|
|
];
|