ndlli 发表于 2017-4-17 17:40:25

SQuid配置-1

  cache_effective_user proxy#以proxy用户启动
  cache_effective_group proxy#以proxy组启动,可不设,不设默认以cache_effective_user指定的组
  cache_mgr supporter@qq.com#管理联系信息
  visible_hostname dev.cache.duowan.com#主机名
  pid_filename /var/run/squid/squid.pid#生成的pid文件存放路径
  http_port 121.9.*.*:80 vhost#设置IP和域名
  icp_port 3130#icp通讯端口设置
  request_header_max_size 32 KB #设置最大的http头大小
  httpd_accel_uses_host_header on#设置是否设置发送http头中的host字段,用在一台主机多个域名的情况(虚拟主机)
页: [1]
查看完整版本: SQuid配置-1