首先需要编译进--with-http_request_model 

配置指令:auth_request url | off; #url是指上游服务器地址

context: http/location

备注 如果 上游响应编码是以2**开头的 则nginx继续执行下去 否则 返回错误码 如:403 、404等 

相关文章:

  • 2021-05-15
  • 2021-06-08
  • 2021-12-02
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-06-08
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
相关资源
相似解决方案