Nginx: Avoid redirect loops (fixed).