cdk-constructs icon indicating copy to clipboard operation
cdk-constructs copied to clipboard

Support for www->apex redirect or apex->www

Open thekevinbrown opened this issue 5 years ago • 13 comments

Generally I end up manually creating the empty bucket and CloudFront distribution to do a redirect from www -> apex. It'd be great if this was either a separate construct (RedirectWebsite perhaps?) or configuration you could apply to StaticWebsite to get it to set this up for you.

thekevinbrown avatar May 26 '20 03:05 thekevinbrown

I would prefer a separate construct. You can then use the construct to implement different usecases:

  • www-> apex
  • apex-> www
  • fqdn_old-> fqdn_new ...

hupe1980 avatar May 28 '20 22:05 hupe1980

Yup, makes sense, I'll see about making a PR for that too.

thekevinbrown avatar May 29 '20 03:05 thekevinbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 28 '20 04:06 stale[bot]

I haven't forgotten. :-)

thekevinbrown avatar Jun 28 '20 06:06 thekevinbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '20 06:07 stale[bot]

Still haven't forgotten, just haven't gotten around to it yet. Happy for someone else to make a PR if they get to it before me.

thekevinbrown avatar Jul 29 '20 00:07 thekevinbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 28 '20 03:08 stale[bot]

Still...haven't....forgotten....

thekevinbrown avatar Aug 29 '20 11:08 thekevinbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 28 '20 23:09 stale[bot]

These bots are super annoying.

thekevinbrown avatar Sep 30 '20 15:09 thekevinbrown

You're right! I just removed the bot

hupe1980 avatar Oct 01 '20 07:10 hupe1980

Thank you!

And to confirm, I still haven't forgotten. I expect to be able to spend some time on this in the next couple of weeks.

thekevinbrown avatar Oct 02 '20 05:10 thekevinbrown

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 01 '20 06:11 stale[bot]