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

https://github.com/steinfletcher/ip-whitelist-proxy


https://github.com/steinfletcher/ip-whitelist-proxy

Last synced: 4 months ago
JSON representation

Awesome Lists containing this project

README

          

ip-whitelist-proxy
==================

Docker container based on nginx that firewalls requests and proxies them to a target.

## Environment variables

- `ALLOWED_IPS` a list of IPs delimited by `,` (without spaces) to configure the source IPs to whitelist
- `PROXY_TARGET` the upstream server to proxy requests to

Example:

docker run -p 9000:80 -e PROXY_TARGET=example.com -e ALLOWED_IPS=211.33.2.22/32,211.33.2.48/32 steinf/ip-whitelist-proxy