While redirect users after logout to home url (/), default context path was appended and redirected to wrong url (/site) and page was landed to page not found.
In console also, we have hst:showcontextpath flag as false.
this was the log we got before redirection:
[org.springframework.security.web.DefaultRedirectStrategy.sendRedirect():54] Redirecting to ‘/’