Squid 配置指令 miss_access

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

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

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

配置详情

选项名称miss_access
替代
要求
默认值允许,除非 squid.conf 中存在规则。
建议配置

      
	Determines whether network access is permitted when satisfying a request.

	For example;
	    to force your neighbors to use you as a sibling instead of
	    a parent.

		acl localclients src 192.0.2.0/24 2001:DB8::a:0/64
		miss_access deny  !localclients
		miss_access allow all

	This means only your local clients are allowed to fetch relayed/MISS
	replies from the network and all other clients can only fetch cached
	objects (HITs).

	The default for this setting allows all clients who passed the
	http_access rules to relay via this proxy.

	This clause only supports fast acl types.
	See https://wiki.squid.org.cn/SquidFaq/SquidAcl for details.

 

返回

 

简介

文档

支持

杂项