Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikesplain/nginx-proxy-pass-docker
A simple proxy pass container
https://github.com/mikesplain/nginx-proxy-pass-docker
Last synced: about 2 months ago
JSON representation
A simple proxy pass container
- Host: GitHub
- URL: https://github.com/mikesplain/nginx-proxy-pass-docker
- Owner: mikesplain
- License: apache-2.0
- Created: 2014-11-04T04:17:13.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-12-10T11:54:24.000Z (about 3 years ago)
- Last Synced: 2024-02-14T21:49:02.422Z (11 months ago)
- Language: Shell
- Size: 7.81 KB
- Stars: 31
- Watchers: 3
- Forks: 36
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nginx Proxy Pass
A simple container that proxy passes to an external source.
A number of great containers for reverse proxying to containers exist(I'm a fan of jwilder/nginx-proxy) however I couldn't find any that would proxy pass to external sources on the fly.
Simply run:
```
docker run -d -p 80:80 -e TARGET_SERVER= mikesplain/nginx-proxy-pass
```For example, want to proxy everything to google? WHY NOT?!
```
docker run -d -p 80:80 -e TARGET_SERVER=google.com mikesplain/nginx-proxy-pass
```Or maybe another server on your network:
```
docker run -d -p 80:80 -e TARGET_SERVER=192.168.8.15:8080 mikesplain/nginx-proxy-pass
```