An open API service indexing awesome lists of open source software.

https://github.com/trendev/kiam-redirect

microservice redirecting comptandye.fr requests to kiam.fr
https://github.com/trendev/kiam-redirect

Last synced: 24 days ago
JSON representation

microservice redirecting comptandye.fr requests to kiam.fr

Awesome Lists containing this project

README

          

# kiam-redirect

redirects all request from comptandye.fr to kiam.fr :smiley:

### build
`docker build -t trendev/kiam-redirect .`

### run
`docker run --rm -p 80:9000 -e URL="https://github.com/trendev" trendev/kiam-redirect`

### test
`curl -vvv localhost`

```
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> GET / HTTP/1.1
> Host: localhost
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 308 Permanent Redirect
< Content-Type: text/html; charset=utf-8
< Location: https://github.com/trendev
< Date: Fri, 10 Apr 2020 11:54:32 GMT
< Content-Length: 62
<
Permanent Redirect.

* Connection #0 to host localhost left intact
* Closing connection 0`