White rice is safe to eat when having indigestion. It is bland and non irritating. Many studies have used a rice based diet for people with diarrhea or digestion issues and it is widely used during bouts of diarrhea to not aggravate the digestive track or cause more diarrhea.
Sources