# Only allow cachemgr access from localhost http_access allow localhost manager http_access deny manager
# We strongly recommend the following be uncommented to protect innocent # web applications running on the proxy server who think the only # one who can access services on "localhost" is a local user #http_access deny to_localhost
# # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS #
# Example rule allowing access from your local networks. # Adapt localnet in the ACL section to list your (internal) IP networks # from where browsing should be allowed # 可以加入自定義的 rules,像是 localnet、localhost、allow network 之類的 http_access allow localnet http_access allow localhost
# And finally deny all other access to this proxy http_access deny all
Listen ports
1
http_port 3128
SSL
有空再研究
Examples
以 golang 為例,透過 proxy server 去訪問 https://ifconfig.co 會返回 IP