Skip to content

Difference between --noproxy and --no-proxy? #3906

Closed
@HRK44

Description

@HRK44

I can't find any documentation on it, or maybe it's just a weird behavior...

I have a curl command like this (simplified) that it is executed on a server behind a proxy, and I don't want to use the proxy for a specific route :

curl toto:1337/api -> doesn't work because of the proxy

curl toto:1337/api --no-proxy toto:1337/api -> works fine...

curl toto:1337/api --noproxy toto:1337/api -> doesn't work (hits the proxy)

curl toto:1337/api --noproxy toto -> works fine...

Anyone can explain the difference or link to some docs for --no-proxy ?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions