Nginx move conditional block where it belongs