Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support FastCGI Proxy #17

Merged
merged 6 commits into from Feb 28, 2020
Merged

Support FastCGI Proxy #17

merged 6 commits into from Feb 28, 2020

Conversation

twose
Copy link
Member

@twose twose commented Feb 27, 2020

Just:

$proxy = new Proxy('php-fpm:9000', $documentRoot);
$server->on('request', function (Request $request, Response $response) use ($proxy) {
    $proxy->pass($request, $response);
});

image

@twose twose requested a review from deminy February 27, 2020 09:40
@deminy deminy merged commit 5bded44 into master Feb 28, 2020
@deminy deminy deleted the proxy branch February 28, 2020 05:32
@phper08
Copy link

phper08 commented Apr 26, 2020

What is the namespace of Proxy class ?

@twose
Copy link
Member Author

twose commented Apr 26, 2020

What is the namespace of Proxy class ?

Swoole\Coroutine\FastCGI\Proxy

Please try to install v4.5.0 release (It is missing in rc version)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants