Use private IP for ejabber Tor proxy targets
This commit is contained in:
@@ -10,10 +10,10 @@ tor_service "ejabberd" do
|
||||
public_key tor_services['ejabberd']['public_key']
|
||||
secret_key tor_services['ejabberd']['secret_key']
|
||||
# TODO configure IP from node attribute
|
||||
# (This is hardcoded for draco atm)
|
||||
ports [ "5222 148.251.237.73:5222",
|
||||
"5223 148.251.237.73:5223",
|
||||
"5269 148.251.237.73:5269" ]
|
||||
# (This is hardcoded for ejabberd-4 atm)
|
||||
ports [ "5222 10.1.1.113:5222",
|
||||
"5223 10.1.1.113:5223",
|
||||
"5269 10.1.1.113:5269" ]
|
||||
end
|
||||
|
||||
tor_service "web" do
|
||||
|
||||
Reference in New Issue
Block a user