在squid.conf里加上visible_hostname squid.server.commm 这句话就行了。 转载于:https://blog.51cto.com/2422606568/1613267