Hidden Service Proxy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Samuel Philipp 7fccaf22bb Merge pull request 'Update dependency curl to v7.79.1-r0' (#25) from renovate/base-dependencies into main 11 months ago
.drone.yml updated .drone.yml 2 years ago
.gitignore added first files 2 years ago
Dockerfile Update dependency curl to v7.79.1-r0 11 months ago
LICENSE Initial commit 2 years ago
README.md updated README.md and entrypoint.sh 2 years ago
entrypoint.sh updated README.md and entrypoint.sh 2 years ago
renovate.json Update 'renovate.json' 1 year ago


Tor Hidden Service Proxy

Build Status License Docker Pulls

A Tor Hidden Service Proxy for any application. Used e.g. by searx.sp-codes.de at searxbi3f73mmdeb.onion


To run your app as a hidden service you need to provide the private key in the PRIVATE_KEY and the host which should be proxied in the REDIRECT environment variables. For example:

version: '3.4'

    image: nginx
      - mynet

    image: spcodes/hidden-service
      - mynet
      - myservice
        REDIRECT: "myservice:80"
        PRIVATE_KEY: |
          -----BEGIN RSA PRIVATE KEY-----
          -----END RSA PRIVATE KEY-----

    driver: 'bridge'

To generate the private key you can use strm/tor-hiddenservice-nginx like this:

docker run -it --rm -v $(pwd)/web:/web \
       strm/tor-hiddenservice-nginx generate <pattern>

As pattern, you can provide a regex to generate the name of your hidden service. For more details see https://github.com/opsxcq/docker-tor-hiddenservice-nginx


GNU AGPLv3 Image

This project is Free Software: It is licensed under GNU AGPL v3 (See LICENSE for more information).