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
- Host: GitHub
- URL: https://github.com/glef1x/qiwi-referrer-proxy
- Owner: GLEF1X
- License: mit
- Created: 2022-07-28T12:10:45.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-19T15:24:37.000Z (about 3 years ago)
- Last Synced: 2025-06-03T15:59:58.847Z (about 1 year ago)
- Language: Dockerfile
- Size: 26.4 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```