From 3e0ee28c4b8e8bc2b701b40b625afa73a644e8bd Mon Sep 17 00:00:00 2001 From: "Fatehullah [C] Nassery" Date: Wed, 25 Nov 2026 11:22:50 -0500 Subject: [PATCH 1/2] allow WebSocket origin in ElastiCache template Signed-off-by: Fatehullah [C] Nassery --- README.md | 2 +- docs-site/src/content/docs/deployment/aws-elasticache.md | 3 +++ examples/aws/aws-elasticache.md | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 76600f149..be50141d5 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ For the full walkthrough see the [connection docs](https://valkey-admin.valkey.i ## Getting Started -**Documentation:** [valkey-admin.valkey.io](https://valkey-admin.valkey.io/introduction/) +**Documentation:** [valkey-admin.valkey.io](https://valkey-admin.valkey.io/) **Install:** diff --git a/docs-site/src/content/docs/deployment/aws-elasticache.md b/docs-site/src/content/docs/deployment/aws-elasticache.md index 8689f4cca..0e4f66952 100644 --- a/docs-site/src/content/docs/deployment/aws-elasticache.md +++ b/docs-site/src/content/docs/deployment/aws-elasticache.md @@ -397,6 +397,7 @@ Resources: docker run -d --name valkey-admin \ -p 8080:8080 \ -e DEPLOYMENT_MODE=Web \ + -e VALKEY_ADMIN_ALLOWED_WS_ORIGINS=https://${DomainName} \ --restart unless-stopped \ public.ecr.aws/valkey/valkey-admin:latest Tags: @@ -486,6 +487,8 @@ Outputs: Value: !Ref CognitoUserPool ``` +`VALKEY_ADMIN_ALLOWED_WS_ORIGINS` is required because users reach the UI through your domain name. Without it, the page loads but the server refuses the WebSocket with `403` and the UI cannot connect. See [`VALKEY_ADMIN_ALLOWED_WS_ORIGINS`](/configuration/server/#valkey_admin_allowed_ws_origins). + ## Security Notes - All traffic is encrypted via HTTPS (HTTP requests redirect to HTTPS) diff --git a/examples/aws/aws-elasticache.md b/examples/aws/aws-elasticache.md index 592569aa8..f1f604012 100644 --- a/examples/aws/aws-elasticache.md +++ b/examples/aws/aws-elasticache.md @@ -384,6 +384,7 @@ Resources: docker run -d --name valkey-admin \ -p 8080:8080 \ -e DEPLOYMENT_MODE=Web \ + -e VALKEY_ADMIN_ALLOWED_WS_ORIGINS=https://${DomainName} \ --restart unless-stopped \ public.ecr.aws/valkey/valkey-admin:latest Tags: @@ -473,6 +474,8 @@ Outputs: Value: !Ref CognitoUserPool ``` +`VALKEY_ADMIN_ALLOWED_WS_ORIGINS` is required because users reach the UI through your domain name. Without it, the page loads but the server refuses the WebSocket with `403` and the UI cannot connect. See [`VALKEY_ADMIN_ALLOWED_WS_ORIGINS`](https://valkey-admin.valkey.io/configuration/server/#valkey_admin_allowed_ws_origins). + ### Security Notes - All traffic is encrypted via HTTPS (HTTP requests are redirected to HTTPS) From b5fb1929f1ad555b7c4fe9e94f45696a0c9ef882 Mon Sep 17 00:00:00 2001 From: nassery318 Date: Wed, 25 Nov 2026 15:07:41 -0500 Subject: [PATCH 2/2] update uses of DomainName in ElastiCache template Signed-off-by: nassery318 --- docs-site/src/content/docs/deployment/aws-elasticache.md | 2 +- examples/aws/aws-elasticache.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs-site/src/content/docs/deployment/aws-elasticache.md b/docs-site/src/content/docs/deployment/aws-elasticache.md index 0e4f66952..2d9a03030 100644 --- a/docs-site/src/content/docs/deployment/aws-elasticache.md +++ b/docs-site/src/content/docs/deployment/aws-elasticache.md @@ -77,7 +77,7 @@ Parameters: Description: ARN of the ACM certificate for HTTPS DomainName: Type: String - Description: Domain name for the Cognito callback URL (e.g., valkey-admin.example.com) + Description: Domain name users open the UI on; used for the Cognito callback URL and the allowed WebSocket origin (e.g., valkey-admin.example.com) NumShards: Type: Number Default: 3 diff --git a/examples/aws/aws-elasticache.md b/examples/aws/aws-elasticache.md index f1f604012..642b337a1 100644 --- a/examples/aws/aws-elasticache.md +++ b/examples/aws/aws-elasticache.md @@ -64,7 +64,7 @@ Parameters: Description: ARN of the ACM certificate for HTTPS DomainName: Type: String - Description: Domain name for the Cognito callback URL (e.g., valkey-admin.example.com) + Description: Domain name users open the UI on; used for the Cognito callback URL and the allowed WebSocket origin (e.g., valkey-admin.example.com) NumShards: Type: Number Default: 3