https://github.com/anthonybudd/nginx-tor-proxy
https://github.com/anthonybudd/nginx-tor-proxy
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anthonybudd/nginx-tor-proxy
- Owner: anthonybudd
- License: mit
- Created: 2021-07-26T00:47:31.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-21T22:04:52.000Z (almost 4 years ago)
- Last Synced: 2024-12-28T19:42:47.554Z (6 months ago)
- Language: Dockerfile
- Size: 54.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NGINX TOR PROXY
![]()
NGINX Tor Proxy is a simple container that exposes your containers with a custom Tor v3 Onion address.
Tor vanity URLs generated using [cathugger/mkp224o](https://github.com/cathugger/mkp224o)
### Getting Started
Run the command below to create a new onion address and run an example application. The `docker-compose.yml` used in this project will just expose a container that will echo any HTTP requests as JSON.
```
docker-compose builddocker run -ti --entrypoint="mkp224o" -v $(pwd):/tor nginx-tor-proxy_nginx-tor-proxy -n 1 -S 10 -d /tor [FILTER]
mv *.onion web
chmod 700 web
sed -ie 's#xxxxx.onion#'"$(cat web/hostname)"'#g' nginx/tor.conf
cat web/hostname
docker-compose up
```