我的博客已经正常运行了一年多,但现在我把服务器放在反向代理后面,它就会陷入无限循环。
使用新代理后,其他网站也能正常运行;我仍然可以登录等......所以这不是 cookie 的问题。
我在另一台机器上试过,也有同样的问题。
这是我的squid.conf
:
#设置端口 http_port 1337 defaultsite=londinium.arcath.net vhost #Londinium 主机 cache_peer 10.0.0.45 parent 80 0 no-query originserver name=londinium cache_peer_domain londinium londinium.arcath.net #Whitefall cache_peer 10.0.0.40 parent 80 0 no-query originserver name=whitefall cache_peer_domain whitefall .arcath.net .ed-itsolutions.com acl all src 0.0.0.0/0.0.0.0 acl localhost src 127.0.0.1/255.255.255.255 acl to_localhost dst 127.0.0.0/8 acl SSL_ports 端口 443 # https acl SSL_ports 端口 563 # snews acl SSL_ports 端口 873 # rsync acl Safe_ports 端口 80 # http acl Safe_ports 端口 21 # ftp acl Safe_ports 端口 443 # https acl Safe_ports 端口 70 # gopher acl Safe_ports 端口 210 # wais acl Safe_ports 端口 1025-65535 # 未注册端口 acl Safe_ports 端口 280 # http-mgmt acl Safe_ports 端口 488 # gss-http acl Safe_ports 端口 591 # filemaker acl Safe_ports 端口 777 # multiling http acl Safe_ports 端口 631 # cups acl Safe_ports 端口 873 # rsync acl Safe_ports 端口 901 # SWAT acl web dstdomain 10.0.0.40 acl purge method PURGE acl CONNECT method CONNECT http_access allow all http_access allow localhost