Can't access WebUI all of a sudden

well I did a bit more searching and I managed to fix it by using the workaround in this post:

the ngnix.conf file was empty, why would this have been?

Thanks