Nginx: Avoid redirect loops.