mirror of
https://github.com/gomods/athens
synced 2026-02-03 08:40:31 +00:00
config: accept PORT env + ensure colon (#1181)
* config: accept PORT env + ensure colon * ensure precedence
This commit is contained in:
committed by
Aaron Schlesinger
parent
f14707e5e5
commit
71aeca7f30
+2
-2
@@ -71,8 +71,8 @@ StorageType = "memory"
|
||||
#TLSKeyFile = "server.key"
|
||||
|
||||
# Port sets the port the proxy listens on
|
||||
# Env override: ATHENS_PORT
|
||||
# Note that PORT needs to be prefixed by :
|
||||
# Env override: ATHENS_PORT or PORT
|
||||
# The PORT must be a number or a number prefixed by ":"
|
||||
Port = ":3000"
|
||||
|
||||
# The endpoint for a package registry in case of a proxy cache miss
|
||||
|
||||
Reference in New Issue
Block a user