swoole-src
swoole-src copied to clipboard
Running multiple sites with Swoole
Hi guys,
I'm running multiple Laravel sites / projects on a single server. Is there any way to use Swoole efficiently in this "shared hosting" scenario? Can a single Swoole instance be used to serve multiple projects/domains?
Cheers
You could, but it would be easier to have one Swoole server per application, and then use some reverse proxy to send requests to the correct server based on the host name.