How do I make curl ignore the proxy?

后端 未结 12 1519
别跟我提以往
别跟我提以往 2021-01-30 03:01

How do I make curl ignore the proxy? Setting $NO_PROXY doesn\'t seem to work for me.

12条回答
  •  时光取名叫无心
    2021-01-30 03:11

    If your curl is at least version 7.19.4, you could just use the --noproxy flag.

    curl --noproxy "*" http://www.stackoverflow.com
    

    From the manual.

提交回复
热议问题