add redirect module for ssl requests