Thread View: alt.pl.comp.os.linux.debian
3 messages
3 total messages
Started by maccolo
Tue, 19 Feb 2008 12:40
squid.conf help
Author: maccolo
Date: Tue, 19 Feb 2008 12:40
Date: Tue, 19 Feb 2008 12:40
91 lines
3203 bytes
3203 bytes
witam moze sie ktos podzielic dobrym konfigiem dla squid`a? na komputer 512ramu i dysk 20gb? mialem cos takiego: ale zaczyna sie cos zapychac i w szczycie trzeba byc cierpliwym zeby strone otworzyc... ####################################### # Squid configuration file ############# cache_effective_user proxy pid_filename /var/run/squid.pid # tcp_outgoing_address dns_nameservers 127.0.0.1 refresh_pattern -i (.*jpg$|.*gif$) 0 50% 28800 refresh_pattern -i (.*html$|.*htm|.*shtml) 0 20% 1440 refresh_pattern (http://.*/$) 0 20% 1440 refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 refresh_pattern . 0 20% 4320 cache_replacement_policy heap LFUDA memory_replacement_policy heap GDSF # obejscie buga internet explorera 5.5 i 5.5SP1 ie_refresh on visible_hostname localhost #kontrola dostepu acl all src 0.0.0.0/0.0.0.0 acl local src 192.168.0.0/255.255.0.0 acl manager proto cache_object acl localhost src 127.0.0.1/255.255.255.255 acl Safe_ports port 20 # http acl Safe_ports port 21 # http acl Safe_ports port 80 # http acl Safe_ports port 81 # http acl Safe_ports port 82 # http acl Safe_ports port 83 # http acl Safe_ports port 84 # http acl Safe_ports port 443 # http acl Safe_ports port 8080 # http acl Safe_ports port 1024:64500 acl purge method PURGE acl CONNECT method CONNECT http_access deny !Safe_Ports #KONFIGURACJA DOSTEPU DO SIECI http_access allow local http_access deny all http_port 3128 icp_port 0 error_directory /squid/share/errors/Polish acl FTP proto FTP always_direct allow FTP hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin \? no_cache deny QUERY #Ilosc Ramu dla squida cache_mem 128 MB cache_swap_low 90 cache_swap_high 95 minimum_object_size 0 KB maximum_object_size 4096 KB maximum_object_size_in_memory 16 KB #Katalog na cache cache_dir ufs /var/spool/squid 7000 16 256 cache_access_log none cache_store_log none cache_log /var/log/squid/cache.log #Transparent proxy httpd_accel_host virtual httpd_accel_port 80 httpd_accel_with_proxy on httpd_accel_uses_host_header on
Re: squid.conf help
Author: Krzysztof Ścierski
Date: Tue, 26 Feb 2008 14:03
Date: Tue, 26 Feb 2008 14:03
14 lines
1182 bytes
1182 bytes
maccolo pisze: > witam > moze sie ktos podzielic dobrym konfigiem dla squid`a? na komputer 512ramu i > dysk 20gb? > mialem cos takiego: ale zaczyna sie cos zapychac i w szczycie trzeba byc > cierpliwym zeby strone otworzyc... > #Ilosc Ramu dla squida > cache_mem 128 MB Zmień to na 64. -- Krzysztof Ścierski
Re: squid.conf help
Author: jacki
Date: Thu, 13 Mar 2008 14:56
Date: Thu, 13 Mar 2008 14:56
18 lines
1493 bytes
1493 bytes
Krzysztof Ścierski pisze: >> moze sie ktos podzielic dobrym konfigiem dla squid`a? na komputer >> 512ramu i dysk 20gb? >> mialem cos takiego: ale zaczyna sie cos zapychac i w szczycie trzeba >> byc cierpliwym zeby strone otworzyc... > >> #Ilosc Ramu dla squida >> cache_mem 128 MB > > Zmień to na 64. > Z ciekawości: możesz to uzasadnić? -- Pozdrawiam Andrzej Jackiewicz jacki(at)idealan.pl
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads