Edge case SSL redirect fix in config