Can't get nginx to display YaCy on domain

I got around the issue using Yunohost, and it worked for awhile. But now when I try to crawl it displays:

504 Gateway Time-out
nginx

As posted on this thread: Yacy crashes on crawl