2209 |
2209 |
#
|
2210 |
2210 |
#Default:
|
2211 |
2211 |
# none
|
2212 |
|
%if %%nom_cache_pere_zone != ['']
|
|
2212 |
%if %%nom_cache_pere_zone != []
|
2213 |
2213 |
%for %%cache_iter in %%purge_list(%%nom_cache_pere_zone)
|
2214 |
2214 |
cache_peer %%cache_iter parent %%cache_iter.port_cache_pere_zone 7 proxy-only no-query
|
2215 |
2215 |
%end for
|
2216 |
2216 |
%end if
|
2217 |
|
%if %%nom_cache_pere != '' and %%nom_cache_pere_zone != ['']
|
2218 |
|
cache_peer %%nom_cache_pere parent %%port_cache_pere 7 no-query
|
|
2217 |
|
|
2218 |
%if %%nom_cache_pere != []
|
|
2219 |
%if %%len(%%nom_cache_pere) == 1
|
|
2220 |
%for %%nom_cache in %%nom_cache_pere
|
|
2221 |
%if %%nom_cache_pere_zone != []
|
|
2222 |
cache_peer %%nom_cache parent %%nom_cache.port_cache_pere 7 no-query default
|
|
2223 |
%else
|
|
2224 |
cache_peer %%nom_cache parent %%nom_cache.port_cache_pere 7 no-query
|
|
2225 |
%end if
|
|
2226 |
%end for
|
|
2227 |
%else
|
|
2228 |
%for %%nom_cache in %%nom_cache_pere
|
|
2229 |
cache_peer %%nom_cache parent %%nom_cache.port_cache_pere 7 no-query round-robin
|
|
2230 |
%end for
|
2219 |
2231 |
%end if
|
2220 |
|
#
|
2221 |
|
%if %%nom_cache_pere != '' and %%nom_cache_pere_zone == ['']
|
2222 |
|
cache_peer %%nom_cache_pere parent %%port_cache_pere 7 no-query default
|
2223 |
2232 |
%end if
|
2224 |
2233 |
|
2225 |
2234 |
# TAG: cache_peer_domain
|
... | ... | |
2252 |
2261 |
# none
|
2253 |
2262 |
##EOLE
|
2254 |
2263 |
# Amon derriere un routeur sur reseau acad
|
2255 |
|
%if %%nom_cache_pere != ''
|
2256 |
|
cache_peer_domain %%nom_cache_pere !%%nom_domaine_local
|
|
2264 |
%if %%nom_cache_pere != ['']
|
|
2265 |
%for %%nom_cache in %%nom_cache_pere
|
|
2266 |
cache_peer_domain %%nom_cache !%%nom_domaine_local
|
|
2267 |
%end for
|
2257 |
2268 |
%end if
|
2258 |
2269 |
|
2259 |
2270 |
# Amon + VPN
|
... | ... | |
2275 |
2286 |
#Default:
|
2276 |
2287 |
# none
|
2277 |
2288 |
##EOLE
|
2278 |
|
%if %%nom_cache_pere != ''
|
2279 |
|
cache_peer_access %%nom_cache_pere allow all
|
|
2289 |
%if %%nom_cache_pere != ['']
|
|
2290 |
%for %%nom_cache in %%nom_cache_pere
|
|
2291 |
cache_peer_access %%nom_cache allow all
|
|
2292 |
%end for
|
2280 |
2293 |
%end if
|
2281 |
2294 |
%if %%nom_cache_pere_zone != ['']
|
2282 |
2295 |
%for %%cache_iter in %%nom_cache_pere_zone
|
... | ... | |
5140 |
5153 |
#Default:
|
5141 |
5154 |
# none
|
5142 |
5155 |
always_direct allow localdom
|
5143 |
|
%if %%nom_cache_pere != ''
|
|
5156 |
%if %%nom_cache_pere != ['']
|
5144 |
5157 |
always_direct allow localdest
|
5145 |
5158 |
%if %%is_defined('install_rvp')
|
5146 |
5159 |
%if %%proxy_pere_rvp == 'non'
|