docs/ops: merchant portal instance ids must be lowercase (avoid 401)
Document that mixed-case instance ids yield odd HTTP 401 in webui/API. Lowercase MERCHANT_INSTANCE / shop paths defensively in monitoring and landings.
This commit is contained in:
parent
57cf9aa2a1
commit
ba48f334ea
9 changed files with 44 additions and 8 deletions
|
|
@ -16,7 +16,8 @@
|
|||
# - restarts taler-merchant-wirewatch (once, after facade is set)
|
||||
set -euo pipefail
|
||||
|
||||
INST="${MERCHANT_INSTANCE:-goa-demo-cp4zqk}"
|
||||
# Instance id must be lowercase (portal/API: capitals → odd 401s).
|
||||
INST=$(printf '%s' "${MERCHANT_INSTANCE:-goa-demo-cp4zqk}" | tr '[:upper:]' '[:lower:]')
|
||||
BANK_USER="${BANK_USER:-$INST}"
|
||||
MERCHANT_PW_FILE="${MERCHANT_PW_FILE:-/root/merchant-${INST}-password.txt}"
|
||||
BANK_PW_FILE="${BANK_PW_FILE:-/root/bank-${BANK_USER}-password.txt}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue