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 28fe3fe commit 668a55d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions microservices/gatewayApi/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ cat > "${CONFIG_PATH:-./config/default.json}" <<EOF
"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}"
"key_id": "${PLUGINS_UPSTREAM_JWT_KEY_ID}",
"private_key_location": "${PLUGINS_UPSTREAM_JWT_PRIVATE_KEY_FILE}",
"public_key_location": "${PLUGINS_UPSTREAM_JWT_PUBLIC_KEY_FILE}"
},
"proxy_cache": {
"strategy": "memory",
Expand Down

0 comments on commit 668a55d

Please sign in to comment.