Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ahmetb/serverless-url-redirect
Simple click-to-deploy serverless URL redirect service
https://github.com/ahmetb/serverless-url-redirect
cloud-run cloud-run-button cloudrun google-cloud-run
Last synced: 3 months ago
JSON representation
Simple click-to-deploy serverless URL redirect service
- Host: GitHub
- URL: https://github.com/ahmetb/serverless-url-redirect
- Owner: ahmetb
- License: apache-2.0
- Created: 2020-05-27T19:21:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-27T19:22:30.000Z (over 4 years ago)
- Last Synced: 2024-06-15T06:36:42.230Z (5 months ago)
- Topics: cloud-run, cloud-run-button, cloudrun, google-cloud-run
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 39
- Watchers: 7
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-cloud-run - Domain redirector
- jimsghstars - ahmetb/serverless-url-redirect - Simple click-to-deploy serverless URL redirect service (Shell)
README
# Serverless domain redirector
This is an easy-to-configure URL rewrite service that
helps you redirect requests easily from one address to another.You can deploy this to [Cloud Run](https://cloud.run) as
serverless (pay per request with a generous [free tier])
by clicking below:[![Run on Google Cloud](https://deploy.cloud.run/button.svg)](https://deploy.cloud.run)
## Setup
To redirect a domain you own like `http://foo.com/` to
`https://bar.com/` with this:1. deploy this (click above) and specify the target domain while deploying.
2. create a [domain mapping on Cloud Run][dm] to map your `foo.com` to this app.
3. update your domain's (`foo.com`) DNS records to hostnames provided by Cloud
Run in the previous step.Please **★Star** if you are using this!
If you want to customize, please feel free to **fork this repo** and customize
with your needs (you can click the "Run on Google Cloud" button from your
repository, too)!---
_This is not an official Google project. See [LICENSE](./LICENSE)_
[free tier]: https://cloud.google.com/run/pricing
[dm]: https://cloud.google.com/run/docs/mapping-custom-domains