add ports for local nginx, use local nginx as proxy