I ran into this same issue when following the FusionPBX Docs.
What worked for me was to follow the first half of the documentation to create a single SSL Cert for my primary domain (domain.com), confirm you receive the output:
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok...