New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
multiple sites for www redirect? #56
Comments
Hello @trjstewart. You're correct that this isn't currently supported, but we're always open to new contributions. I believe you can setup a redirect from one bucket to another and then would only have to maintain a single bucket of files. There are additional things we could also add such as managing CloudFront distributions with the static sites. Happy to have any sort of PR on either. I'll assign this to you - feel free to ask for help from anyone on the contributors or maintainers list in the Readme! |
Hello @trjstewart, any update on this ? |
Hi @romainquellec! Feel free to help develop this too! I'll basically assign this issue to the first person who says they are working on developing the feature. @trjstewart looks like there is community interest 😀! Let us know if you're interested in working on this. |
For information, the base documentation for this is here: "Step 2.3: Configure Your Website Redirect". |
@fernando-mc I have a working branch that deploys to multiple buckets. I've been testing against my own s3 buckets but not sure how to go about using yours before submitting a pull request? |
@rstittda That's great! Ahh darn, did I leave them already created again? We still need to fix some of those tests. You can put in a PR for this and I'll be happy to take a look at it. |
I was able to deploy to multiple buckets without any changes to this package.
my file structure is
then to deploy
|
@rstittda would your branch e ready for a PR? It looks like the solution proposed just above doesn't allow one regular site plus a redirect like OP mentioned. |
I’ll take a look this week at the PR as it has been a while.
From: Stefan ***@***.***>
Sent: Tuesday, 13 April 2021 6:43 PM
To: fernando-mc/serverless-finch ***@***.***>
Cc: Russell Stitt ***@***.***>; Mention ***@***.***>
Subject: Re: [fernando-mc/serverless-finch] multiple sites for www redirect? (#56)
@rstittda<https://github.com/rstittda> would your branch e ready for a PR? It looks like the solution proposed just above doesn't allow one regular site plus a redirect like OP mentioned.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#56 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AOKNSP3E6DFLRLTDDQLGIX3TIQDKNANCNFSM4E73I3ZQ>.
Russell Stitt Technical Development Lead
Data Action
Phone 08 8201 1000 | Service Desk 08 8201 1400
Adelaide | Melbourne | Sydney
Data Action Pty Ltd, Commercial In Confidence: The content of this message is confidential and is to be used solely for the purposes provided. If you have received this message in error please delete the document and notify Data Action immediately.
Think green before you print this screen.
|
Is it possible to deploy multiple buckets within the one
serverless.yml
? For example, i'd like to be able to deploydomain.com
with the client files andwww.domain.com
to redirect todomain.com
or visa versa.If this isn't supported currently I'd definately be interested in adding it as a feature if there is intrest.
The text was updated successfully, but these errors were encountered: