On Sat, Nov 26, 2011 at 10:21 AM, utkung <nginx-forum@nginx.us> wrote:
> Hi, I have a problem:
> upstream backend {
> server 172.16.0.1:80;
> server 172.16.0.2:80;
> }
> server {
> listen 80;
> server_name www.domain.com;
> location / {
> proxy_pass http://backend;
> }
> }
> Now I have the model as above, but I don't know can configure to sync
> data between 2 servers? please, help me ...
Hardly an nginx problem, but whatever the backends are, use nfs for
the web space, or push your site code to every backend's web space.
Database should be accessible on an internal network.
---
Stefan Caunter
http://scaleengine.com/contact
"People who enjoy having meetings should never be allowed to be in
charge of anything."
>
> Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219113,219113#msg-219113
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx