The Web Application Proxy by default run as part of the Resource Manager(RM) The reason for the proxy is to reduce the possibility of web based attacks through YARN.