https://github.com/steinfletcher/ip-whitelist-proxy
https://github.com/steinfletcher/ip-whitelist-proxy
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/steinfletcher/ip-whitelist-proxy
- Owner: steinfletcher
- Created: 2017-08-17T12:23:49.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-18T09:05:56.000Z (almost 9 years ago)
- Last Synced: 2025-07-14T10:22:44.948Z (11 months ago)
- Language: Nginx
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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