Cut the pineapple in half lengthwise and cut out the fruit section. Remove the core and cut the fruit into medium dice. Reserve about 1 cup of the pineapple for the fried rice. Reserve the hollowed out halves for serving.
Heat the oil in a large skillet until a wisp of white smoke appears. Stir in the shallots and garlic and cook until light brown. Add the bacon and cook until slightly crisp, 4 to 5 minutes. Add the ginger and shrimp and cook until the shrimp start to turn pink, about 1 minute. Fold in the rice, making sure not to break the rice grains. Add in the fish sauce, black bean chili sauce, sugar and curry powder. Continue to cook and stir for about a minute. Stir in the reserved pineapple and incorporate well. Cook the fried rice for about 1 to 2 more minutes, folding constantly and mixing in all the ingredients well. Fold in the white pepper and green onions.
Transfer the fried rice into the pineapple halves and garnish with the fresh cilantro.