nginx fix, redirect cleanups