Having a shingles infection that affects the eyes may increase the risk of stroke, according to new research.