mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
center badges in readme
This commit is contained in:
@@ -24,9 +24,12 @@ Reproxy is a simple edge HTTP(s) server / reverse proxy supporting various provi
|
||||
- Plugins support via RPC to implement custom functionality
|
||||
- Optional logging with both Apache Log Format, and simplified stdout reports.
|
||||
---
|
||||
<div align="center">
|
||||
|
||||
[](https://github.com/umputun/reproxy/actions/workflows/ci.yml) [](https://coveralls.io/github/umputun/reproxy?branch=master) [](https://goreportcard.com/report/github.com/umputun/reproxy) [](https://hub.docker.com/repository/docker/umputun/reproxy)
|
||||
|
||||
</div>
|
||||
|
||||
Server (host) can be set as FQDN, i.e. `s.example.com` or `*` (catch all). Requested url can be regex, for example `^/api/(.*)` and destination url may have regex matched groups in, i.e. `http://d.example.com:8080/$1`. For the example above `http://s.example.com/api/something?foo=bar` will be proxied to `http://d.example.com:8080/something?foo=bar`.
|
||||
|
||||
For convenience, requests with the trailing `/` and without regex groups expanded to `/(.*)`, and destinations in those cases expanded to `/$1`. I.e. `/api/` -> `http://127.0.0.1/service` will be translated to `^/api/(.*)` -> `http://127.0.0.1/service/$1`
|
||||
|
||||
Reference in New Issue
Block a user