squid 反向代理怎么配置 ssl? - V2EX
oulung

squid 反向代理怎么配置 ssl?

  •  
  •   oulung Jun 3, 2017 3453 views
    This topic created in 3265 days ago, the information mentioned may be changed or developed.
    cache_effective_user squid
    cache_effective_group squid
    tcp_recv_bufsize 65535 bytes
    icp_port 0
    visible_hostname CDN
    http_port 80 accel vhost vport
    cache_peer 180.97.33.107 parent 80 0 no-query originserver name=wwwbaiducom
    cache_peer_domain wwwbaiducom www.baidu.com

    #acl
    http_access allow all

    acl AdminBoxes src 127.0.0.1
    acl Purge method PURGE
    http_access allow AdminBoxes Purge
    http_access deny Purge

    ###cache,dir
    #cache_log /home/squid/cache.log
    #access_log /home/squid/access.log squid

    cache_access_log none
    cache_store_log none

    cache_dir ufs /home/squid/cache 2048 32 128
    maximum_object_size 1024 KB
    maximum_object_size_in_memory 1024 KB
    cache_mem 128 MB
    cache_mgr Email
    cache_swap_low 80
    cache_swap_high 90
    ipcache_size 512
    ipcache_low 90
    ipcache_high 95
    fqdncache_size 512

    ### timeout
    connect_timeout 1 minute
    peer_connect_timeout 30 seconds
    request_timeout 2 minutes
    persistent_request_timeout 30 seconds
    hierarchy_stoplist cgi-bin ?

    #refresh_pattern
    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
    refresh_pattern -i \.jpg$ 43200 50% 86400
    refresh_pattern -i \.png$ 43200 50% 86400
    refresh_pattern -i \.css$ 43200 50% 86400
    refresh_pattern -i \.js$ 43200 50% 86400
    refresh_pattern -i \.xml$ 43200 50% 86400
    refresh_pattern -i \.htm$ 7200 50% 43200
    refresh_pattern -i \.html$ 7200 50% 43200
    refresh_pattern . 0 20% 4320

    #header
    #via off
    reply_header_access Via deny all
    reply_header_access Server deny all
    forwarded_for on
    half_closed_clients off
    No Comments Yet
    About     Help     Advertise     Blog     API     FAQ     Solana     3721 Online   Highest 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 36ms UTC 04:22 PVG 12:22 LAX 21:22 JFK 00:22
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86