What this will cover
- Host a static website at S3
- Redirect
www.website.comtowebsite.com - Website can be an SPA (requiring all requests to return
index.html) - Free AWS SSL certs
- Deployment with CDN invalidation
| ### Keybase proof | |
| I hereby claim: | |
| * I am john20xdoe on github. | |
| * I am arekkushisu (https://keybase.io/arekkushisu) on keybase. | |
| * I have a public key ASCNBjvLqjSSqnZbsQAk7xphxLWUIzQVqWdoT9O_FzZodgo | |
| To claim this, I am signing this object: |
| # Make symbolic link for chocolatey default install | |
| # cmd | |
| mklink /D "C:\ProgramData\chocolatey" 'C:\ProgramData\chocolatey' | |
| # powershell Admin | |
| New-Item -ItemType SymbolicLink -Path "C:\ProgramData\chocolatey" -Target "D:\Bin\chocolatey" |
| $ git reflog expire --expire=1.minute refs/heads/master | |
| $ git fsck --unreachable | |
| $ git prune | |
| $ git gc | |
| Reference: http://www.newartisans.com/blog/2008/04/diving-into-git.html | |
| Basically this removes all reflogs that are older than a minute for the master branch, finds and deletes any commits that aren’t being used, then does some general cleanup on the whole repository to further compress it. This could have had its own tip, but it’s probably better to illustrate a great use of the subject’s subcommands in your workflow. | |
| -- http://gitready.com/intermediate/2009/02/09/reflog-your-safety-net.html |
| adtago.s3.amazonaws.com | |
| analyticsengine.s3.amazonaws.com | |
| analytics.s3.amazonaws.com | |
| advice-ads.s3.amazonaws.com | |
| advertising-api-eu.amazon.com | |
| pagead2.googlesyndication.com | |
| adservice.google.com | |
| pagead2.googleadservices.com | |
| afs.googlesyndication.com | |
| stats.g.doubleclick.net |