Adds nginx::resource::redirect class