Skip to content

Commit

Permalink
add upstream config in the entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ikethecoder committed Nov 9, 2023
1 parent a8d80e0 commit 28fe3fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions microservices/gatewayApi/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ cat > "${CONFIG_PATH:-./config/default.json}" <<EOF
"redis_password": "${PLUGINS_RATELIMITING_REDIS_PASSWORD}",
"redis_timeout": 2000
},
"upstream_jwt": {
"key_id": "${UPSTREAM_JWT_KEY_ID}",
"private_key_location": "${UPSTREAM_JWT_PRIVATE_KEY_FILE}",
"public_key_location": "${UPSTREAM_JWT_PUBLIC_KEY_FILE}"
},
"proxy_cache": {
"strategy": "memory",
"memory": { "dictionary_name": "${PLUGINS_PROXYCACHE_MEMORY_DICT:-"aps_proxy_cache"}" }
Expand Down

0 comments on commit 28fe3fe

Please sign in to comment.