React nginx retorna 404 após recarregar

Change location in Nginx to this code below

location / {
 try_files $uri /index.html;
}
Almabek