Liferay paths
http://localhost:8080/web/site1/
$themeDisplay.getPathFriendlyURLPublic() - /web
$themeDisplay.getPortalURL() - http://localhost:8080
$themeDisplay.getURLHome() - http://localhost:8080/web/site1
$themeDisplay.getURLCurrent() - /web/site1/home
$layout.getGroup().getFriendlyURL() - /site1
$request.getServerName() - localhost
$request.getServerPort() - 8080
PortalUtil.getPathProxy() - /portal
$themeDisplay.getScopeGroup().getName() - guest