You only need one file.
/etc/nginx/nginx.conf
change
root home/pool/open-ethereum-pool/www/dist;
to
root /home/pool/open-ethereum-pool/www/dist;
For api to work you need to edit your
/home/pool/open-ethereum-pool/www/config/environment.js
In particular you need something like:
ApiUrl: '//ubiqpool.servehttp.com:8080/',
Also something like
server_name ubiqpool.servehttp.com;
in nginx.conf
Your config.json must also reflect correct ports. But this is
at least a start for you to get on track..