may break the access module? 
the ps_preaccess_handler just modify cfg_l->loc_conf / clcf and return NGX_DECLINED.

your idea is good and brief if we can determine the order.