Windows Server 添加 http | https 代理

Windows Server 添加 http | https 代理
  • 这里直接上执行命令: http 代理服务器(squid 服务)ip:port 为 172.50.1.119:3128
netsh winhttp set proxy proxy-server="http://172.50.1.119:3128;https://172.50.1.119:3128"
  • Windows 任何命令可以用 ? 来显示使用方法,类似 Linux 中的 xxx --help 和 man xxx, 比如
C:UsersAdministrator>netsh winhttp ?

下列指令有效:

此上下文中的命令:
?              - 显示命令列表。
dump           - 显示一个配置脚本。
help           - 显示命令列表。
import         - 导入 WinHTTP 代理服务器设置。
reset          - 重置 WinHTTP 设置。
set            - 配置 WinHTTP 设置。
show           - 显示当前设置。

若需要命令的更多帮助信息,请键入命令,接着是空格,
后面跟 ?。
原文地址:https://www.cnblogs.com/herui1991/p/14236091.html