Due to stability issues with our site we are revamping our server configuration.

I am running a wordpress site that I want to run the following way;

I have 2 servers. Server #1 and Server #2.

I want Server #1 to be the front end, and Server #2 to be the nginx proxy.

This way the files are being generated locally on Server #1, and then being copied by SSH/FTP to Server #2, the proxy.

By using this setup Server #2 keeps running even though Server #1 has any kind of problems.

At the moment I am using W3 Total cache for my caching, but it doesn't support this configuration.

Can anyone point me in the right way to realise this?