Compare commits
1 commit
main
...
external_i
Author | SHA1 | Date | |
---|---|---|---|
58a33a88e6 |
2 changed files with 5 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -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: 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: 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: 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"
|
prosody.vm.network "private_network", ip: "192.168.33.5"
|
||||||
config.vm.provision "shell", inline: "apt install acl"
|
config.vm.provision "shell", inline: "apt install acl"
|
||||||
end
|
end
|
||||||
|
|
|
@ -46,6 +46,9 @@ http_paths = {
|
||||||
-- See https://prosody.im/doc/configure
|
-- See https://prosody.im/doc/configure
|
||||||
c2s_direct_tls_ports = { {{ prosody_c2s_direct_tls_ports }} }
|
c2s_direct_tls_ports = { {{ prosody_c2s_direct_tls_ports }} }
|
||||||
s2s_direct_tls_ports = { {{ prosody_s2s_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
|
-- Enable use of libevent for better performance under high load
|
||||||
-- For more information see: https://prosody.im/doc/libevent
|
-- For more information see: https://prosody.im/doc/libevent
|
||||||
|
|
Loading…
Reference in a new issue