Squid 配置指令 retry_on_error

可用版本:   v6   v5   v4   3.5   3.4   3.3   3.2   2.7   3.1   3.0   2.6  

此指令在 Squid 的 v8 版本中不可用。

对于 v5 之前的旧版本,请参阅以上链接页面。

配置详情

选项名称retry_on_error
替代
要求
默认值retry_on_error off
建议配置

      
	If set to ON Squid will automatically retry requests when
	receiving an error response with status 403 (Forbidden),
	500 (Internal Error), 501 or 503 (Service not available).
	Status 502 and 504 (Gateway errors) are always retried.

	This is mainly useful if you are in a complex cache hierarchy to
	work around access control errors.

	NOTE: This retry will attempt to find another working destination.
	Which is different from the server which just failed.

 

返回

 

简介

文档

支持

杂项