Change template urls to relative to fix proxy pass around the port numbers