small addition to readme (we need much better one btw); removed changelog; added requested change in PR #31
This commit is contained in:
parent
e8d9418f25
commit
c6fc936ede
4 changed files with 24 additions and 12 deletions
|
@ -1,6 +0,0 @@
|
|||
# Prosody role - Changelog
|
||||
|
||||
- 22.01.2022 - Change from mod_http_upload to mod_http_file_share
|
||||
- 05.05.2021 - Add mod muc_ban_ip
|
||||
- 04.05.2021 - Add mods for better compatibility with siskin
|
||||
- 14.02.2021 - Public release of this role
|
23
README.MD
23
README.MD
|
@ -20,6 +20,27 @@ If you want to use viop, you need to set `turncredentials` to `true` in `default
|
|||
# Add LDAP authentication and vhosts
|
||||
To add LDAP authentication, edit `defaults/vhost.yml`, change `auth_method` from `internal_hashed` to `ldap` and change the LDAP vars in `prosody_ldap_config`.
|
||||
|
||||
This role supports multiple vhosts.
|
||||
# Virtual hosts
|
||||
This role supports multiple vhosts. In order to define them specify vhosts in `prosody_vhost` array. You can set number or settings. Make sure to provide certificates for each domain `prosody_certificate_path` eg:
|
||||
```
|
||||
|
||||
prosody_vhost:
|
||||
- name: 'example.org'
|
||||
enabled: 'true'
|
||||
carbon_defaults: 'true'
|
||||
auth_method: 'internal_hashed'
|
||||
- name: 'example.com'
|
||||
enabled: 'true'
|
||||
carbon_defaults: 'true'
|
||||
auth_method: 'ldap'
|
||||
prosody_ldap_config:
|
||||
- ldap_server: "{{ prosody_ldap_server }}"
|
||||
ldap_rootdn: "{{ prosody_ldap_rootdn }}"
|
||||
ldap_password: "{{ prosody_ldap_password }}"
|
||||
ldap_basedn: "{{ prosody_ldap_basedn }}"
|
||||
ldap_tls: "{{ prosody_ldap_tls }}"
|
||||
ldap_mode: "{{ prosody_ldap_mode }}"
|
||||
```
|
||||
|
||||
# Modules
|
||||
|
||||
|
|
5
Vagrantfile
vendored
5
Vagrantfile
vendored
|
@ -8,13 +8,10 @@
|
|||
Vagrant.configure("2") do |config|
|
||||
#config.ssh.insert_key = false
|
||||
config.vm.define "prosody" do |prosody|
|
||||
prosody.vm.box = "generic/debian11"
|
||||
prosody.vm.box = "generic/debian12"
|
||||
prosody.vm.provider :libvirt do |libvirt|
|
||||
libvirt.memory = 256
|
||||
end
|
||||
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 "private_network", ip: "192.168.33.5"
|
||||
config.vm.provision "shell", inline: "apt install acl"
|
||||
end
|
||||
|
|
|
@ -3,7 +3,7 @@ container_distribution: 'stretch'
|
|||
backports_uri: http://ftp.nl.debian.org/debian/
|
||||
backports_components: "{{ container_distribution }}-backports main contrib non-free"
|
||||
|
||||
prosody_admins: "admin@example.org"
|
||||
prosody_admins: "'admin@example.org'"
|
||||
|
||||
prosody_core_modules_path: "/usr/lib/prosody/modules/"
|
||||
prosody_community_modules_path: "/usr/lib/prosody-modules"
|
||||
|
|
Loading…
Reference in a new issue