I have a configuration file in my sites-enabled folder for my website (titled www) and the location code I put in it is not working, here is the part with issues:
root /var/www/html;
index index.php index.html index.htm
location /refrigerator/ {
root /var/www/html/refrigerator/;
}