ansible/group_vars/thelounge.yml

48 lines
1.2 KiB
YAML

---
glob_thelounge:
public: "false"
host: "undefined"
reverseProxy: "false"
oidentd: "null"
irc:
name: Crans
host: irc.crans.org
port: 6697
password:
tls: "true"
rejectUnauthorized: "true"
nick: "thelounge%%"
username: "thelounge"
realname: "The Lounge User"
join: "#general"
ldap_enable: "false"
ldap:
url: "ldap://172.16.10.157"
primaryKey: "cn"
rootDN: "cn=thelounge,ou=service-users,dc=crans,dc=org"
rootPassword: "{{ vault.ldap_thelounge }}"
filter: "(objectclass=inetOrgPerson)"
base: "dc=crans,dc=org"
scope: "sub"
service_nginx:
service_name: "thelounge"
servers:
- server_name:
- "irc.crans.org"
- "irc"
default: true
ssl: crans.org
locations:
- filter: "^~ /web/"
params:
- "proxy_pass http://localhost:9000/"
- "include \"/etc/nginx/snippets/options-proxypass.conf\""
- filter: "~ ^/$"
params:
- "return 302 https://irc.crans.org/web/"
- filter: "/"
params:
- "return 302 \"https://wiki.crans.org/VieCrans/UtiliserIrc#Via_l.27interface_web\""