Restrict regex to only consider files to rotate, and ignore other params like key_file and cert_file. Fixes #3292