Skip to content

Preserve www HTTPS in the AWS replica template - #15

Merged
lhd2156 merged 1 commit into
mainfrom
App/aws-tls-cutover
Aug 10, 2026
Merged

Preserve www HTTPS in the AWS replica template#15
lhd2156 merged 1 commit into
mainfrom
App/aws-tls-cutover

Conversation

@lhd2156

@lhd2156 lhd2156 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • persist the live Caddy configuration for both encodexdrive.com and www.encodexdrive.com
  • document both Namecheap A records in the cutover procedure

Verification

  • CloudFormation template validation passed
  • both HTTPS hostnames return 200 with valid TLS
  • database-backed login smoke returns the expected 401

Copilot AI lite review requested due to automatic review settings August 10, 2026 03:48
@cursor

cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
encodex Ready Ready Preview Aug 10, 2026 3:49am

@lhd2156
lhd2156 merged commit 9d7e267 into main Aug 10, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the AWS replica cutover instructions and Caddy production configuration to ensure both encodexdrive.com and www.encodexdrive.com remain reachable over HTTPS after DNS is moved to the replica stack.

Changes:

  • Document updating both Namecheap @ and www A records during cutover.
  • Extend the production Caddy configuration to serve the www hostname in addition to the apex domain.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
infra/aws/README.md Updates DNS cutover steps to include the www record and verification wording.
infra/aws/encodex-replica.yml Adds a www.${DomainName} Caddy site block to preserve HTTPS for the www hostname.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 253 to +257
${DomainName} {
encode zstd gzip
reverse_proxy 127.0.0.1:30180
}

Comment thread infra/aws/README.md
Comment on lines +88 to 89
5. Verify both HTTPS hostnames and an authenticated database-backed
API request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants