Troubleshoot

  • 403 error on nginx, check your directory permissions and folder permissions. Nginx run as “hidden” user, his UID is 666, just check if you give this user access to the /web/www folder (in the case the folder mapped to it).

Build

docker build -t strm/tor-hiddenservice-nginx .

Run

docker run -d –restart=always –name hiddensite -v $(pwd)/web:/web strm/tor-hiddenservice-nginx

Shell

docker run -it –rm -v $(pwd)/web:/web –entrypoint /bin/bash strm/tor-hiddenservice-nginx

Source: https://github.com/opsxcq/docker-tor-hiddenservice-nginx