Allowlist Go Proxy URLs

When you build Flogo applications, you might need to allowlist the following Go proxy URLs to download Go dependencies:

  • proxy.golang.org

  • index.golang.org

  • sum.golang.org

Default Go Proxy Behavior

The default Go proxy value is set to https://proxy.golang.org,direct. This configuration means that Go first attempts to locate dependencies through https://proxy.golang.org. If it does not find a module there, it then checks http://github.com.

Using Direct Go Proxy

All releases on github.com are cached in the default Go proxy, proxy.golang.org. Therefore, you do not usually need to allowlist github.com.

If you want to prevent access to http://github.com, update the GOPROXY environment variable. Remove the keyword direct from its value.

To maintain the default settings, add http://github.com to your allowlist URLs.