Phpagi_wallboard

I want to put a wallboard admin to see in real time all incoming calls.
Let’s say the host of asterisk 10.10.50.41 and the host of the web server 10.10.50.36. then in the following files, how to correctly register them?
there are 4 files in the /etc/asterisk path
ls | grep php
phpagi-asmanager.php
phpagi.conf
phpagi-fastagi.php
phpagi.php

if(!isset($this->config[‘asmanager’][‘server’])) $this->config[‘asmanager’][‘server’] = ‘localhost’; //is the address of the web server specified here instead of the localhost, or does it remain so?
if(!isset($this->config[‘asmanager’][‘port’])) $this->config[‘asmanager’][‘port’] = 5038;
if(!isset($this->config[‘asmanager’][‘username’])) $this->config[‘asmanager’][‘username’] = ‘phpagi’;
if(!isset($this->config[‘asmanager’][‘secret’])) $this->config[‘asmanager’][‘secret’] = ‘phpagi’;

inside phpagi.conf
[phpagi]
tempdir=/tmp
[asmanager]
server=???
port=5038
username=phpagi
secret=**********
[fastagi]
setuid=true
basedir=/var/lib/asterisk/agi-bin/

Now here are the settings where the wallboard itself is located (on the nginx web server)
there is a file here phpagi-asmanager.php
if(!isset($this->config[‘asmanager’][‘server’])) $this->config[‘asmanager’][‘server’] = ‘localhost’; //what should I specify here??
if(!isset($this->config[‘asmanager’][‘port’])) $this->config[‘asmanager’][‘port’] = 5038;
if(!isset($this->config[‘asmanager’][‘username’])) $this->config[‘asmanager’][‘username’] = ‘phpagi’;
if(!isset($this->config[‘asmanager’][‘secret’])) $this->config[‘asmanager’][‘secret’] = ‘phpagi’;