Advertisement
Guest User

labris-conf

a guest
Jan 16th, 2012
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. http_port 3128
  2. https_port 8443 cert=/opt/labris/etc/labris-webcache/certs/sslfilter.crt key=/opt/labris/etc/labris-webcache/certs/sslfilter.key protocol=https accel vhost defaultsite=labristeknoloji.com
  3.  
  4.  
  5. hierarchy_stoplist cgi-bin ?
  6.  
  7. acl QUERY urlpath_regex cgi-bin \?
  8. cache deny QUERY
  9.  
  10. acl apache rep_header Server ^Apache
  11.  
  12. cache_mem 32 MB
  13.  
  14.  
  15. logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh
  16.  
  17. access_log /opt/labris/var/log/labris-webcache/access.log common
  18.  
  19. cache_log /opt/labris/var/log/labris-webcache/cache.log
  20.  
  21. cache_store_log none
  22.  
  23.  
  24.  
  25.  
  26. mime_table /opt/labris/etc/labris-webcache/mime.conf
  27.  
  28. pid_filename /var/run/labris-webcache.pid
  29.  
  30. debug_options ALL,1
  31.  
  32.  
  33. dns_defnames on
  34.  
  35.  
  36.  
  37.  
  38. auth_param negotiate program /usr/sbin/negotiate_wrapper -d --ntlm /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp --kerberos /opt/labris/lib/labris-webcache/squid_kerb_auth -d -s HTTP/test2008.labristest.com
  39. auth_param negotiate children 10
  40. auth_param negotiate keep_alive on
  41.  
  42.  
  43.  
  44.  
  45. refresh_pattern ^ftp: 1440 20% 10080
  46. refresh_pattern ^gopher: 1440 0% 1440
  47. refresh_pattern . 0 20% 4320
  48.  
  49.  
  50.  
  51.  
  52. acl manager proto cache_object
  53. acl localhost src 127.0.0.1/32
  54. acl to_localhost dst 127.0.0.0/8
  55. acl SSL_ports port 443 563
  56. acl Safe_ports port 80 # http
  57. acl Safe_ports port 81
  58. acl Safe_ports port 21 # ftp
  59. acl Safe_ports port 443 563 # https, snews
  60. acl Safe_ports port 70 # gopher
  61. acl Safe_ports port 210 # wais
  62. acl Safe_ports port 1025-65535 # unregistered ports
  63. acl Safe_ports port 280 # http-mgmt
  64. acl Safe_ports port 488 # gss-http
  65. acl Safe_ports port 591 # filemaker
  66. acl Safe_ports port 777 # multiling http
  67. acl CONNECT method CONNECT
  68. acl HEAD method HEAD
  69. acl authorized_users proxy_auth REQUIRED
  70. acl alwaysdirect dstdomain "/opt/labris/etc/labris-webcache/always_direct"
  71. acl windowsupdate dstdomain "/opt/labris/etc/labris-webcache/non-auth_destinations"
  72. acl wuCONNECT dstdomain "/opt/labris/etc/labris-webcache/non-auth_destinations"
  73.  
  74.  
  75. http_access allow manager localhost
  76. http_access deny manager
  77. http_access deny !Safe_ports
  78. http_access deny CONNECT !SSL_ports
  79.  
  80.  
  81. http_access allow localhost
  82. http_access allow HEAD
  83. http_access allow alwaysdirect
  84. http_access allow CONNECT wuCONNECT
  85. http_access allow windowsupdate
  86. acl NATedHTTPS myport 8443
  87. http_access allow NATedHTTPS
  88. http_access allow authorized_users
  89. http_access deny all
  90.  
  91.  
  92. http_reply_access allow all
  93.  
  94. icp_access deny all
  95.  
  96.  
  97.  
  98.  
  99. cache_effective_user labris-webcache
  100.  
  101. cache_effective_group labris-webcache
  102.  
  103.  
  104. visible_hostname labris-1
  105.  
  106.  
  107. always_direct allow alwaysdirect
  108.  
  109.  
  110.  
  111. icon_directory /opt/labris/share/labris-webcache/icons
  112.  
  113.  
  114.  
  115. error_directory /opt/labris/share/labris-webcache/errors/tr
  116.  
  117.  
  118.  
  119. coredump_dir /opt/labris/var/cache/labris-webcache
  120.  
  121.  
  122.  
  123. pipeline_prefetch off
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement