You can move the entire wp content folder to a shared directory on the file server. Ensure that directory permissions allow IIS to change permissions in the same way as the current wp content folder. Then create a virtual directory on your IIS website and point it to the shared path.
Thus, both web servers can share the same downloads, plugins, etc., and you don’t have to worry about trying to mirror both web servers. Make the following entry in wp-config.php on each web server:
define('WP_CONTENT_DIR','//server/sharedpath'.'/wp-content');
define('WP_CONTENT_URL', 'https://url-to-virtual-directory/wp-content');
Do this before entering wp-config.php:
require_once(ABSPATH.’wp-settings.php’);
dpjas source
share