Add Tor, configure hidden service for Mastodon #95
无审核者
标签
未选择标签
service
accounts
service
discourse
service
drone-ci
service
email
service
garage
service
gitea
service
ipfs
service
mastodon
service
postgres
service
remotestorage
service
wiki
service
xmpp
bug
design
dev environment
docs
duplicate
enhancement
feature
good first issue
idea
invalid
kredits-1
kredits-2
kredits-3
on hold
ops
question
release
major
release
minor
release
patch
security
ui/ux
wontfix
未选择里程碑
暂无项目
未指派成员
2 名参与者
通知
到期时间
未设置到期时间。
依赖工单
没有设置依赖项。
参考:kosmos/chef#95
正在加载...
在新工单中引用
没有提供说明。
删除分支 feature/tor_hidden_services
删除分支是永久的。虽然已删除的分支在实际被删除前有可能会短时间存在,但这在大多数情况下无法撤销。是否继续?
This installs and configures Tor and a Tor hidden service for Mastodon (or any other port 80 sites).
It's running in production now: https://kosmos.social/@kosmos/102722941255208284
We can now also add more hidden services for other sites and programs.
Update: added a hidden service for ejabberd as well. It's available at
ht6eqe754p3m2gif.onion
.I added a comment about the attributes in my review, the rest looks good!
@ -1,2 +1,9 @@
node.default["kosmos-ejabberd"]["version"] = "19.02"
node.default["kosmos-ejabberd"]["checksum"] = "aea550c58e61eab04ca9beb8896d8b04f4a79321c21dee160a67ad6787236f51"
node.default["tor"]["HiddenServices"]["ejabberd"] = {
I think this belongs in the recipe (just before
include_recipe "tor-full"
), and usingnode.override
@ -4,3 +4,6 @@ node.default["kosmos-mastodon"]["streaming_port"] = 4000
node.default["kosmos-mastodon"]["server_name"] = "kosmos.social"
node.default["kosmos-mastodon"]["redis_url"] = "redis://localhost:6379/1"
node.default["kosmos-mastodon"]["sidekiq_threads"] = 25
node.default["tor"]["HiddenServices"]["mastodon"] = {
Same thing as in
site-cookbooks/kosmos-ejabberd/attributes/default.rb