ahmetb / serverless-url-redirect

Simple click-to-deploy serverless URL redirect service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 as serverless (pay per request with a generous free tier) by clicking below:

Run on Google Cloud

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 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

About

Simple click-to-deploy serverless URL redirect service

License:Apache License 2.0


Languages

Language:Shell 90.7%Language:Dockerfile 9.3%