Compare commits

...

1 commit

Author SHA1 Message Date
58a33a88e6 external ip setting 2024-03-05 17:22:26 +01:00
2 changed files with 5 additions and 0 deletions

2
Vagrantfile vendored
View file

@ -15,6 +15,8 @@ Vagrant.configure("2") do |config|
prosody.vm.network "forwarded_port", guest: 80, host: 8884, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 443, host: 4444, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 8080, host: 8081, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 5222, host: 5222, host_ip: "192.168.33.5"
prosody.vm.network "forwarded_port", guest: 8080, host: 8081, host_ip: "192.168.33.5"
prosody.vm.network "private_network", ip: "192.168.33.5"
config.vm.provision "shell", inline: "apt install acl"
end

View file

@ -46,6 +46,9 @@ http_paths = {
-- See https://prosody.im/doc/configure
c2s_direct_tls_ports = { {{ prosody_c2s_direct_tls_ports }} }
s2s_direct_tls_ports = { {{ prosody_s2s_direct_tls_ports }} }
{% if prosody_external_ip is defined and prosody_external_ip != 'null' %}
external_addresses = { "{{ prosody_external_ip }}" }
{% endif %}
-- Enable use of libevent for better performance under high load
-- For more information see: https://prosody.im/doc/libevent