mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-17 05:14:52 +00:00
add url proxy (#109)
This commit is contained in:
15
url/proxy/README.md
Normal file
15
url/proxy/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# URL Proxy
|
||||
|
||||
The URL proxy provides the single entrypoint for m3o.one
|
||||
|
||||
## Overview
|
||||
|
||||
The [url](https://github.com/micro/services) service provides link shortening and sharing. The URL Proxy fronts those urls
|
||||
as a single entrypoint at https://m3o.one. We don't serve directly because of time wasted on ssl certs, etc.
|
||||
|
||||
## Usage
|
||||
|
||||
- Assumes url is of format `https://m3o.one/u/AArfeZE`
|
||||
- Will call `https://api.m3o.com/url/proxy?shortURL=AArfeZE`
|
||||
- URL service should return `destinationURL=https://foobar.com/example`
|
||||
- Proxy will issue a 301 redirect
|
||||
Reference in New Issue
Block a user