Doc update to configure upstream proxy to fetch modules from a Go mod… (#1146)

* Doc update to configure upstream proxy to fetch modules from a Go modules repository

* review suggestions
This commit is contained in:
Shivaram Radhkrishna
2019-03-19 15:03:44 -07:00
committed by Aaron Schlesinger
parent 58747ed290
commit c59aa69848
3 changed files with 44 additions and 0 deletions
+10
View File
@@ -42,6 +42,11 @@ CloudRuntime = "none"
# The filename for the include exclude filter.
# Env override: ATHENS_FILTER_FILE
#
# To point Athens to an upstream proxy to fetch modules,
# set GlobalEndpoint to "https://<url_to_upstream>"
# and also ensure that FilterFile is set to a fully qualified file name
# that contains the letter `D` (for "Direct Access") in the first line.
FilterFile = ""
# Timeout is the timeout for external network calls in seconds
@@ -70,6 +75,11 @@ Port = ":3000"
# The endpoint for a package registry in case of a proxy cache miss
# NOTE: Currently no registries have been implemented
# Env override: ATHENS_GLOBAL_ENDPOINT
#
# To point Athens to an upstream proxy to fetch modules,
# set GlobalEndpoint to "https://<url_to_upstream>"
# and also ensure that FilterFile is set to a fully qualified file name
# that contains the letter `D` (for "Direct Access") in the first line.
GlobalEndpoint = "http://localhost:3001"
# BASIC AUTH OPTIONS