I have WordPress installation running on two web servers (Nginx). There is unidirectional synchronization from server A to server B and I'm using lsyncd for this purpose.
I'm not sure how to solve the problem with access to admin back-end. My initial idea was to create rewrite rule on the web servers as follow:
http://example.com/wp-admin/ to admin.example.com on both web servers - however the problem is that WordPress can be access it only with the main domain (example.com).
Is there any other solution fr this?