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

https://github.com/glef1x/qiwi-referrer-proxy

Proxy server for QIWI referrer
https://github.com/glef1x/qiwi-referrer-proxy

Last synced: 10 months ago
JSON representation

Proxy server for QIWI referrer

Awesome Lists containing this project

README

          


Simple and performant proxy server to enrich request with `Referer` header.

### Usage

> :warning: **19.06.23: A pre-deployed proxy server is no longer an option. You have to deploy it manually.**

~~You can
use [already deployed on `AWS Beanstalk` service](http://referrerproxy-env.eba-cxcmwwm7.us-east-1.elasticbeanstalk.com/proxy/p2p/)~~
or deploy it manually using docker. It can handle more than 50k+ requests per second.

### Caveats

Supported architectures:

* `linux/amd64`
* `linux/arm64/v8`
* `linux/arm/v7`
* `linux/arm/v6`
* `linux/ppc64le`
* `linux/s390x`

#### Endpoints

| Path | Params | Response |
|------------------------------|:--------------------:|------------------------------------------:|
| /proxy/p2p/{identifier} | identifier: bill uid | Redirect to https://oplata.qiwi.com/form |
| /proxy/p2p/bill/{identifier} | identifier: bill uid | Redirect to https://oplata.qiwi.com/form |
| /healthcheck | - | HTTP 200 json {"status": "ok"} |

### Deploy manually using docker

Pull image:

```bash
docker pull ghcr.io/glef1x/glqiwiapi-proxy:latest
```

Run docker container:

```bash
docker run -p 80:80 -e DOMAIN_NAME=yourdomain.com ghcr.io/glef1x/glqiwiapi-proxy:latest
```