Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/hexylena/docker-remote-user-proxy

Proxy requests and add REMOTE_USER set to a static value
https://github.com/hexylena/docker-remote-user-proxy

docker proxy remote-user

Last synced: 16 days ago
JSON representation

Proxy requests and add REMOTE_USER set to a static value

Awesome Lists containing this project

README

        

# Remote User Proxy image

Testing `REMOTE_USER` services can sometimes be complex if you do not have
infrastructure set up for it.

This proxy provides a convenient way to statically add a remote user username
and proxy your request to a backend service.

## Testing

Simply run `test.sh`:

```console
$ bash test.sh
Pulling containers
Launching containers
Containers started, please check for REMOTE_USER in the following request
{
"headers": {
"Accept": "*/*",
"Connection": "close",
"Host": "target:8000",
"Remote-User": "[email protected]",
"User-Agent": "curl/7.47.0",
"X-Forwarded-Host": "0.0.0.0",
"X-Url-Scheme": "https"
}
}
```

## LICENSE

AGPL-3.0