This is not right. How exactly are you installing? Also, I think that the config file you are really looking for is the nginx one, not the moodle one. You have to direct nginx to access the moodle folder. The config file in moodle is more for the address and location of the site and the database connection details.