
포트 3128에서 실행되는 로컬 컴퓨터를 사용하여 프록시 서버를 설정했습니다. squid
Apache 서버가 작동 중이고 이제 오징어 프록시를 통해 로컬 호스트 사이트에 액세스하려고 하는데 요청이 중지될 때까지 응답 없이 계속 로드됩니다. Firefox에서 FoxyProxy(127.0.0.1:3128)를 설정하고 127.0.0.1에 액세스하려고 시도했지만 응답하지 않습니다. 내가 얻은 것 /etc/squid/squid.conf
:
acl localnet src 10.0.0.0/8
acl localnet src 192.168.0.0/16
#http_access deny !Safe_ports #intentionally commented this line
#http_access deny CONNECT !SSL_ports #intentionally commented this line
http_access allow localnet
http_access allow localhost
http_port 3128
나는 또한 squid의 바이트 access.log
가 0바이트라는 것을 알았습니다. 이는 요청이 squid에 도달하지 않았다는 것을 의미합니다. 여기서 무엇을 놓칠 수 있습니까? 감사해요.
답변1
내가 아는 한, localhost와 127.0.0.1은 예외 목록에 있습니다(옵션, 고급, 네트워크, 설정에 프록시 없음). 이를 제거해 보세요!