In a medium saucepan, combine the pineapple, jalapeños, red chili or bell pepper, and ginger.
Cook the mixture over medium heat, stirring occasionally, for about 20 to 25 minutes until it thickens and the flavors meld together.
Remove from heat and let it cool before serving.
