mirror of
https://github.com/gomods/athens
synced 2026-02-03 11:00:32 +00:00
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:
committed by
Aaron Schlesinger
parent
58747ed290
commit
c59aa69848
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user