Squid configuration directives

On this page you find all Squid configuration directives. For full documentation see the respective release configuration guide.

Version specific guides: v4 3.5 3.4 3.3 3.2 3.1 3.0 2.7 2.6

Directive Supported Squid Versions
accept_filterv43.53.43.33.23.13.02.7
access_logv43.53.43.33.23.13.02.72.6
aclv43.53.43.33.23.13.02.72.6
acl_uses_indirect_clientv43.53.43.33.23.12.72.6
adaptation_accessv43.53.43.33.23.1
adaptation_masterx_shared_namesv43.53.43.33.23.1
adaptation_metav43.53.43.33.2
adaptation_send_client_ipv43.53.43.33.2
adaptation_send_usernamev43.53.43.33.2
adaptation_service_chainv43.53.43.33.23.1
adaptation_service_iteration_limitv43.53.43.33.23.1
adaptation_service_setv43.53.43.33.23.1
adaptation_uses_indirect_clientv43.53.43.33.2
adapted_http_accessv43.53.43.33.23.1
allow_underscorev43.53.43.33.23.13.02.72.6
always_directv43.53.43.33.23.13.02.72.6
announce_filev43.53.43.33.23.13.02.72.6
announce_hostv43.53.43.33.23.13.02.72.6
announce_periodv43.53.43.33.23.13.02.72.6
announce_portv43.53.43.33.23.13.02.72.6
append_domainv43.53.43.33.23.13.02.72.6
as_whois_serverv43.53.43.33.23.13.02.72.6
auth_paramv43.53.43.33.23.13.02.72.6
authenticate_cache_garbage_intervalv43.53.43.33.23.13.02.72.6
authenticate_ip_shortcircuit_access2.7
authenticate_ip_shortcircuit_ttl2.7
authenticate_ip_ttlv43.53.43.33.23.13.02.72.6
authenticate_ttlv43.53.43.33.23.13.02.72.6
background_ping_ratev43.53.43.33.23.13.0
balance_on_multiple_ipv43.53.43.33.23.13.02.72.6
broken_postsv43.53.43.33.23.13.02.72.6
broken_vary_encoding2.72.6
buffered_logsv43.53.43.33.23.13.02.72.6
cachev43.53.43.33.23.13.02.72.6
cache_dirv43.53.43.33.23.13.02.72.6
cache_dns_program3.43.33.23.13.02.72.6
cache_effective_groupv43.53.43.33.23.13.02.72.6
cache_effective_userv43.53.43.33.23.13.02.72.6
cache_logv43.53.43.33.23.13.02.72.6
cache_memv43.53.43.33.23.13.02.72.6
cache_mgrv43.53.43.33.23.13.02.72.6
cache_miss_revalidatev43.53.43.3
cache_peerv43.53.43.33.23.13.02.72.6
cache_peer_accessv43.53.43.33.23.13.02.72.6
cache_peer_domainv43.53.43.33.23.13.02.72.6
cache_replacement_policyv43.53.43.33.23.13.02.72.6
cache_store_logv43.53.43.33.23.13.02.72.6
cache_swap_highv43.53.43.33.23.13.02.72.6
cache_swap_log2.6
cache_swap_lowv43.53.43.33.23.13.02.72.6
cache_swap_statev43.53.43.33.23.13.02.72.6
cache_vary2.72.6
cachemgr_passwdv43.53.43.33.23.13.02.72.6
check_hostnamesv43.53.43.33.23.13.02.72.6
chrootv43.53.43.33.23.13.02.72.6
chunked_request_body_max_size3.43.33.23.13.0
client_dbv43.53.43.33.23.13.02.72.6
client_delay_accessv43.53.43.33.2
client_delay_initial_bucket_levelv43.53.43.33.2
client_delay_parametersv43.53.43.33.2
client_delay_poolsv43.53.43.33.2
client_dst_passthruv43.53.43.33.2
client_idle_pconn_timeoutv43.53.43.33.2
client_ip_max_connectionsv43.53.43.33.23.13.0
client_lifetimev43.53.43.33.23.13.02.72.6
client_netmaskv43.53.43.33.23.13.02.72.6
client_persistent_connectionsv43.53.43.33.23.13.02.72.6
client_request_buffer_max_sizev43.53.43.33.23.1
clientside_markv43.53.43.33.2
clientside_tosv43.53.43.33.23.13.0
collapsed_forwardingv43.52.72.6
collapsed_forwarding_timeout
configuration_includes_quoted_valuesv43.53.4
connect_retriesv43.53.43.33.2
connect_timeoutv43.53.43.33.23.13.02.72.6
coredump_dirv43.53.43.33.23.13.02.72.6
cpu_affinity_mapv43.53.43.33.2
dead_peer_timeoutv43.53.43.33.23.13.02.72.6
debug_optionsv43.53.43.33.23.13.02.72.6
delay_accessv43.53.43.33.23.13.02.72.6
delay_body_max_size
delay_classv43.53.43.33.23.13.02.72.6
delay_client_reply_access
delay_client_request_access
delay_initial_bucket_levelv43.53.43.33.23.13.02.72.6
delay_parametersv43.53.43.33.23.13.02.72.6
delay_pool_uses_indirect_clientv43.53.43.33.23.12.72.6
delay_poolsv43.53.43.33.23.13.02.72.6
deny_infov43.53.43.33.23.13.02.72.6
detect_broken_pconnv43.53.43.33.23.13.02.72.6
digest_bits_per_entryv43.53.43.33.23.13.02.72.6
digest_generationv43.53.43.33.23.13.02.72.6
digest_rebuild_chunk_percentagev43.53.43.33.23.13.02.72.6
digest_rebuild_periodv43.53.43.33.23.13.02.72.6
digest_rewrite_periodv43.53.43.33.23.13.02.72.6
digest_swapout_chunk_sizev43.53.43.33.23.13.02.72.6
diskd_programv43.53.43.33.23.13.02.72.6
dns_children3.43.33.23.13.02.72.6
dns_defnamesv43.53.43.33.23.13.02.72.6
dns_multicast_localv43.53.4
dns_nameserversv43.53.43.33.23.13.02.72.6
dns_packet_maxv43.53.43.33.2
dns_retransmit_intervalv43.53.43.33.23.13.02.72.6
dns_testnames3.02.72.6
dns_timeoutv43.53.43.33.23.13.02.72.6
dns_v4_fallback3.1
dns_v4_firstv43.53.43.33.23.1
ecap_enablev43.53.43.33.23.1
ecap_servicev43.53.43.33.23.1
email_err_datav43.53.43.33.23.13.0
emulate_httpd_log3.13.02.72.6
err_html_textv43.53.43.33.23.13.02.72.6
err_page_stylesheetv43.53.43.33.23.1
error_default_languagev43.53.43.33.23.1
error_directoryv43.53.43.33.23.13.02.72.6
error_log_languagesv43.53.43.33.23.1
error_map2.72.6
esi_parserv43.53.43.33.23.13.0
eui_lookupv43.53.43.33.2
extension_methods3.02.72.6
external_acl_typev43.53.43.33.23.13.02.72.6
external_refresh_check2.7
follow_x_forwarded_forv43.53.43.33.23.12.72.6
forward_log3.13.02.72.6
forward_max_triesv43.53.43.33.23.1
forward_timeoutv43.53.43.33.23.13.02.72.6
forwarded_forv43.53.43.33.23.13.02.72.6
fqdncache_sizev43.53.43.33.23.13.02.72.6
ftp_eprtv43.53.43.33.23.1
ftp_epsvv43.53.43.33.23.1
ftp_epsv_allv43.53.43.33.23.1
ftp_list_width3.13.02.72.6
ftp_passivev43.53.43.33.23.13.02.72.6
ftp_sanitycheckv43.53.43.33.23.13.02.72.6
ftp_telnet_protocolv43.53.43.33.23.13.02.72.6
ftp_userv43.53.43.33.23.13.02.72.6
global_internal_staticv43.53.43.33.23.13.02.72.6
half_closed_clientsv43.53.43.33.23.13.02.72.6
header_access2.72.6
header_replace3.02.72.6
hierarchy_stoplist3.43.33.23.13.02.72.6
high_memory_warningv43.53.43.33.23.13.02.72.6
high_page_fault_warningv43.53.43.33.23.13.02.72.6
high_response_time_warningv43.53.43.33.23.13.02.72.6
host_verify_strictv43.53.43.33.2
hostname_aliasesv43.53.43.33.23.13.02.72.6
hosts_filev43.53.43.33.23.13.02.72.6
htcp_accessv43.53.43.33.23.13.02.72.6
htcp_clr_accessv43.53.43.33.23.13.02.72.6
htcp_portv43.53.43.33.23.13.02.72.6
http_accel_surrogate_remotev43.53.43.33.23.13.0
http_accessv43.53.43.33.23.13.02.72.6
http_access22.72.6
http_portv43.53.43.33.23.13.02.72.6
http_reply_accessv43.53.43.33.23.13.02.72.6
httpd_accel_no_pmtu_disc2.72.6
httpd_accel_surrogate_idv43.53.43.33.23.13.0
httpd_suppress_version_stringv43.53.43.33.23.13.02.72.6
https_portv43.53.43.33.23.13.02.72.6
icap_206_enablev43.53.43.33.2
icap_accessv43.53.43.33.23.13.0
icap_classv43.53.43.33.23.13.0
icap_client_username_encodev43.53.43.33.23.13.0
icap_client_username_headerv43.53.43.33.23.13.0
icap_connect_timeoutv43.53.43.33.23.13.0
icap_default_options_ttlv43.53.43.33.23.13.0
icap_enablev43.53.43.33.23.13.0
icap_io_timeoutv43.53.43.33.23.13.0
icap_logv43.53.43.33.23.1
icap_persistent_connectionsv43.53.43.33.23.13.0
icap_preview_enablev43.53.43.33.23.13.0
icap_preview_sizev43.53.43.33.23.13.0
icap_retryv43.53.43.33.23.1
icap_retry_limitv43.53.43.33.23.1
icap_send_client_ip3.13.0
icap_send_client_username3.13.0
icap_servicev43.53.43.33.23.13.0
icap_service_failure_limitv43.53.43.33.23.13.0
icap_service_revival_delayv43.53.43.33.23.13.0
icap_uses_indirect_client3.1
icon_directoryv43.53.43.33.23.13.02.72.6
icp_accessv43.53.43.33.23.13.02.72.6
icp_hit_stalev43.53.43.33.23.13.02.72.6
icp_portv43.53.43.33.23.13.02.72.6
icp_query_timeoutv43.53.43.33.23.13.02.72.6
ident_lookup_accessv43.53.43.33.23.13.02.72.6
ident_timeoutv43.53.43.33.23.13.02.72.6
ie_refreshv43.53.43.33.23.13.02.72.6
ignore_expect_1003.12.7
ignore_ims_on_miss2.7
ignore_unknown_nameserversv43.53.43.33.23.13.02.72.6
incoming_dns_averagev43.53.43.33.23.13.02.6
incoming_http_average3.13.02.6
incoming_icp_average3.13.02.6
incoming_rate2.7
incoming_tcp_averagev43.53.43.33.2
incoming_udp_averagev43.53.43.33.2
ipcache_highv43.53.43.33.23.13.02.72.6
ipcache_lowv43.53.43.33.23.13.02.72.6
ipcache_sizev43.53.43.33.23.13.02.72.6
loadable_modulesv43.53.43.33.23.1
location_rewrite_access2.72.6
location_rewrite_children2.72.6
location_rewrite_concurrency2.72.6
location_rewrite_program2.72.6
log_access3.33.23.13.02.72.6
log_fqdn3.13.02.72.6
log_icap3.33.23.1
log_icp_queriesv43.53.43.33.23.13.02.72.6
log_ip_on_direct3.13.02.72.6
log_mime_hdrsv43.53.43.33.23.13.02.72.6
log_uses_indirect_clientv43.53.43.33.23.12.72.6
logfile_daemonv43.53.43.33.22.7
logfile_rotatev43.53.43.33.23.13.02.72.6
logformatv43.53.43.33.23.13.02.72.6
logtype
mail_fromv43.53.43.33.23.13.02.72.6
mail_programv43.53.43.33.23.13.02.72.6
max_filedescriptorsv43.53.43.33.23.12.7
max_open_disk_fdsv43.53.43.33.23.13.02.72.6
max_stalev43.53.43.33.22.7
maximum_icp_query_timeoutv43.53.43.33.23.13.02.72.6
maximum_object_sizev43.53.43.33.23.13.02.72.6
maximum_object_size_in_memoryv43.53.43.33.23.13.02.72.6
maximum_single_addr_tries3.13.02.72.6
mcast_groupsv43.53.43.33.23.13.02.72.6
mcast_icp_query_timeoutv43.53.43.33.23.13.02.72.6
mcast_miss_addrv43.53.43.33.23.13.02.72.6
mcast_miss_encode_keyv43.53.43.33.23.13.02.72.6
mcast_miss_portv43.53.43.33.23.13.02.72.6
mcast_miss_ttlv43.53.43.33.23.13.02.72.6
memory_cache_modev43.53.43.33.2
memory_cache_sharedv43.53.43.33.2
memory_poolsv43.53.43.33.23.13.02.72.6
memory_pools_limitv43.53.43.33.23.13.02.72.6
memory_replacement_policyv43.53.43.33.23.13.02.72.6
mime_tablev43.53.43.33.23.13.02.72.6
min_dns_poll_cntv43.53.43.33.23.13.02.6
min_http_poll_cnt3.13.02.6
min_icp_poll_cnt3.13.02.6
min_tcp_poll_cntv43.53.43.33.2
min_udp_poll_cntv43.53.43.33.2
minimum_direct_hopsv43.53.43.33.23.13.02.72.6
minimum_direct_rttv43.53.43.33.23.13.02.72.6
minimum_expiry_timev43.53.43.33.23.13.02.72.6
minimum_icp_query_timeoutv43.53.43.33.23.13.02.72.6
minimum_object_sizev43.53.43.33.23.13.02.72.6
miss_accessv43.53.43.33.23.13.02.72.6
negative_dns_ttlv43.53.43.33.23.13.02.72.6
negative_ttlv43.53.43.33.23.13.02.72.6
neighbor_type_domainv43.53.43.33.23.13.02.72.6
netdb_filenamev43.53.43.33.23.12.7
netdb_highv43.53.43.33.23.13.02.72.6
netdb_lowv43.53.43.33.23.13.02.72.6
netdb_ping_periodv43.53.43.33.23.13.02.72.6
never_directv43.53.43.33.23.13.02.72.6
nonhierarchical_directv43.53.43.33.23.13.02.72.6
notev43.53.4
offline_modev43.53.43.33.23.13.02.72.6
pconn_timeout3.13.02.72.6
peer_connect_timeoutv43.53.43.33.23.13.02.72.6
persistent_connection_after_errorv43.53.43.33.23.13.02.72.6
persistent_request_timeout3.13.02.72.6
pid_filenamev43.53.43.33.23.13.02.72.6
pinger_enablev43.53.43.33.23.1
pinger_programv43.53.43.33.23.13.02.72.6
pipeline_prefetchv43.53.43.33.23.13.02.72.6
positive_dns_ttlv43.53.43.33.23.13.02.72.6
prefer_directv43.53.43.33.23.13.02.72.6
qos_flowsv43.53.43.33.23.1
query_icmpv43.53.43.33.23.13.02.72.6
quick_abort_maxv43.53.43.33.23.13.02.72.6
quick_abort_minv43.53.43.33.23.13.02.72.6
quick_abort_pctv43.53.43.33.23.13.02.72.6
range_offset_limitv43.53.43.33.23.13.02.72.6
read_ahead_gapv43.53.43.33.23.13.02.72.6
read_timeoutv43.53.43.33.23.13.02.72.6
redirector_access
redirector_bypass2.72.6
referer_log3.13.02.72.6
refresh_all_imsv43.53.43.33.23.13.0
refresh_patternv43.53.43.33.23.13.02.72.6
refresh_stale_hit2.72.6
relaxed_header_parserv43.53.43.33.23.13.02.72.6
reload_into_imsv43.53.43.33.23.13.02.72.6
reply_body_max_sizev43.53.43.33.23.13.02.72.6
reply_header_accessv43.53.43.33.23.13.0
reply_header_max_sizev43.53.43.33.23.13.02.72.6
reply_header_replacev43.53.43.33.23.1
request_body_delay_forward_size
request_body_max_sizev43.53.43.33.23.13.02.72.6
request_entitiesv43.53.43.33.23.13.02.72.6
request_header_accessv43.53.43.33.23.13.0
request_header_addv43.53.43.3
request_header_max_sizev43.53.43.33.23.13.02.72.6
request_header_replacev43.53.43.33.23.1
request_timeoutv43.53.43.33.23.13.02.72.6
retry_on_errorv43.53.43.33.23.13.02.72.6
rewrite
rewrite_access
send_hitv43.5
server_http112.7
server_idle_pconn_timeoutv43.53.43.33.2
server_persistent_connectionsv43.53.43.33.23.13.02.72.6
short_icon_urlsv43.53.43.33.23.13.02.72.6
shutdown_lifetimev43.53.43.33.23.13.02.72.6
sleep_after_forkv43.53.43.33.23.13.02.72.6
snmp_accessv43.53.43.33.23.13.02.72.6
snmp_incoming_addressv43.53.43.33.23.13.02.72.6
snmp_outgoing_addressv43.53.43.33.23.13.02.72.6
snmp_portv43.53.43.33.23.13.02.72.6
spoof_client_ipv43.53.4
ssl_bumpv43.53.43.33.23.1
ssl_enginev43.53.43.33.23.13.02.72.6
ssl_unclean_shutdownv43.53.43.33.23.13.02.72.6
sslcrtd_childrenv43.53.43.33.23.1
sslcrtd_programv43.53.43.33.23.1
sslcrtvalidator_childrenv43.53.4
sslcrtvalidator_programv43.53.4
sslpassword_programv43.53.43.33.23.13.02.72.6
sslproxy_cafilev43.53.43.33.23.13.02.72.6
sslproxy_capathv43.53.43.33.23.13.02.72.6
sslproxy_cert_adaptv43.53.43.3
sslproxy_cert_errorv43.53.43.33.23.1
sslproxy_cert_signv43.53.43.3
sslproxy_cipherv43.53.43.33.23.13.02.72.6
sslproxy_client_certificatev43.53.43.33.23.13.02.72.6
sslproxy_client_keyv43.53.43.33.23.13.02.72.6
sslproxy_flagsv43.53.43.33.23.13.02.72.6
sslproxy_optionsv43.53.43.33.23.13.02.72.6
sslproxy_session_cache_sizev43.5
sslproxy_session_ttlv43.5
sslproxy_versionv43.53.43.33.23.13.02.72.6
stats_collectionv43.53.4
store_avg_object_sizev43.53.43.33.23.13.02.72.6
store_dir_select_algorithmv43.53.43.33.23.13.02.72.6
store_id_accessv43.53.4
store_id_bypassv43.53.4
store_id_childrenv43.53.4
store_id_extrasv43.5
store_id_programv43.53.4
store_missv43.5
store_objects_per_bucketv43.53.43.33.23.13.02.72.6
storeurl_access2.7
storeurl_rewrite_children2.7
storeurl_rewrite_concurrency2.7
storeurl_rewrite_program2.7
strip_query_termsv43.53.43.33.23.13.02.72.6
tcp_outgoing_addressv43.53.43.33.23.13.02.72.6
tcp_outgoing_markv43.53.43.33.2
tcp_outgoing_tosv43.53.43.33.23.13.02.72.6
tcp_recv_bufsizev43.53.43.33.23.13.02.72.6
test_reachabilityv43.53.43.33.23.13.02.72.6
tproxy_uses_indirect_clientv43.53.43.33.2
udp_incoming_addressv43.53.43.33.23.13.02.72.6
udp_outgoing_addressv43.53.43.33.23.13.02.72.6
umaskv43.53.43.33.23.13.02.72.6
unique_hostnamev43.53.43.33.23.13.02.72.6
unlinkd_programv43.53.43.33.23.13.02.72.6
update_headers2.7
upgrade_http0.92.7
uri_whitespacev43.53.43.33.23.13.02.72.6
url_rewrite_accessv43.53.43.33.23.13.02.72.6
url_rewrite_bypassv43.53.43.33.23.13.0
url_rewrite_childrenv43.53.43.33.23.13.02.72.6
url_rewrite_concurrency3.13.02.72.6
url_rewrite_extrasv43.5
url_rewrite_host_headerv43.53.43.33.23.13.02.72.6
url_rewrite_programv43.53.43.33.23.13.02.72.6
useragent_log3.13.02.72.6
vary_ignore_expirev43.53.43.33.23.13.02.72.6
viav43.53.43.33.23.13.02.72.6
visible_hostnamev43.53.43.33.23.13.02.72.6
wais_relay_host2.6
wais_relay_port2.6
wccp2_addressv43.53.43.33.23.13.02.72.6
wccp2_assignment_methodv43.53.43.33.23.13.02.72.6
wccp2_forwarding_methodv43.53.43.33.23.13.02.72.6
wccp2_rebuild_waitv43.53.43.33.23.13.02.72.6
wccp2_return_methodv43.53.43.33.23.13.02.72.6
wccp2_routerv43.53.43.33.23.13.02.72.6
wccp2_servicev43.53.43.33.23.13.02.72.6
wccp2_service_infov43.53.43.33.23.13.02.72.6
wccp2_weightv43.53.43.33.23.13.02.72.6
wccp_addressv43.53.43.33.23.13.02.72.6
wccp_routerv43.53.43.33.23.13.02.72.6
wccp_versionv43.53.43.33.23.13.02.72.6
windows_ipaddrchangemonitorv43.53.43.33.23.13.02.7
workersv43.53.43.33.2
write_timeoutv43.53.43.33.2
zero_buffers2.7
zph_local2.7
zph_mode2.7
zph_option2.7
zph_parent2.7
zph_preserve_miss_tos
zph_preserve_miss_tos_mask
zph_sibling2.7
zph_tos_local
zph_tos_parent
zph_tos_peer

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors