aws-amplify / aws-amplify/amplify-hosting

Allow to change origin for rewrite redirects

Open
#87 5 comments 0 reactions 0 assignees View on GitHub
feature-request redirects
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Similarly to the `changeOrigin` option in https://github.com/chimurai/http-proxy-middleware, it would be very good to be able to change the origin of the host header to the target URL for Rewrite (200) Redirects. Also, is it possible to configure redirects without using the UI, for instance using the `.yml`?

Contributor guide

Open the contributing guide

Research direction

Review the Rewrite (200) Redirects behavior and the referenced changeOrigin option in http-proxy-middleware first. Determine whether redirects can be configured outside the UI through a .yml file; done means the host header can use the target URL origin and the requested redirect configuration path is supported or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, yaml
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.