Refactor tor usage, set up new tor proxy on draco

This commit is contained in:
Râu Cao
2023-07-29 16:26:20 +02:00
parent b149264919
commit cb0fc27134
9 changed files with 91 additions and 6 deletions

View File

@@ -20,7 +20,6 @@ development_run_list = %w(
default_run_list = %w(
role[openresty]
tor-full
kosmos-ejabberd::nginx
)
@@ -43,6 +42,7 @@ production_run_list = %w(
kosmos-ipfs::nginx_public_gateway
kosmos-mastodon::nginx
remotestorage_discourse::nginx
role[tor_proxy]
)
env_run_lists(

6
roles/tor_proxy.rb Normal file
View File

@@ -0,0 +1,6 @@
name "tor_proxy"
run_list %w(
kosmos-base::tor_services
tor-full
)