3) { $profile = $domainData[1]; } $kernel = new Kernel($env, $debug, $profile); Request::setTrustedProxies(['127.0.0.1', '87.233.92.0/27'], Request::HEADER_X_FORWARDED_ALL); $request = Request::createFromGlobals(); $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response);