DoTheEvo / selfhosted-apps-docker

Guide by Example
1.71k stars 122 forks source link

tor hidden service support #16

Closed r0qstr closed 3 years ago

r0qstr commented 3 years ago

I am wondering how one would add support for another domain in the caddyfile? What do I have to keep in mind with the tor config? the following did not work:

torrc: HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServicePort 80 127.0.0.1:80

xyz123.onion:80 nextcloud.{$MY_DOMAIN} { reverse_proxy nextcloud-web:80 header Strict-Transport-Security max-age=31536000; ... }

DoTheEvo commented 3 years ago

dunno, try caddy forums

https://caddy.community/