However, if there is a leading . in the no_proxy setting, the behavior varies. For example, curl and wget behave differently. curl will always strip the leading . and match against a domain suffix. This call bypasses the proxy: $ env https_proxy=http://non.existent/ no_proxy=.gitlab.com curl https://gitlab.com <html><body>You are being <a href="https://about.gitlab.com/">redirected</a>.</body></ht