apache - Does it matter if the nginx host configuration for load balancing is slightly different?
習慣沉默
習慣沉默 2017-05-16 16:59:59
0
1
529

Prepare to use an nginx to configure load balancing and forward PHP to several apache hosts for running

So it doesn’t matter if the nginx used for load balancing is configured differently? Because it only load forwards?

習慣沉默
習慣沉默

reply all(1)
黄舟

No, nginx is equivalent to the front-end scheduler. All requests must go through nginx and forwarded to the back-end server. Whether it is lvs-nat (lvs-nat forwards the data returned by the back-end apache after processing, it still has to be sent to the client through nginx. end, then the nginx front-end scheduler has the largest amount of access, or lvs-dr (direct routing), or nginx-upstream

.
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!