Scope: Balancing SharePoint 2013 using ESP with a logoff string works only from the main page. This is a known issue with SharePoint since it is looking the string only on the default page.
Solution: We can use content rules to force a redirection to the default page when /_layouts/15/SignOut.aspx is requested from a sub directory.
Create two rules
Next perform the following steps:
1) Assign the rules to the Virtual Service under HTTP Selection Rules
2) Set the 302 Redirection