diff --git a/group_vars/irc.yml b/group_vars/irc.yml
index cdfc1ffb0253b23e05796bf0d00e05df769ea2c1..e55af642b894fc765b2e5a6e2d09425c2c3f9945 100644
--- a/group_vars/irc.yml
+++ b/group_vars/irc.yml
@@ -1,5 +1,8 @@
 glob_thelounge:
   public: "false"
+  host: "undefined"
+  reverseProxy: "false"
+  oidentd: "null"
   irc:
     name: Crans
     host: irc.crans.org
diff --git a/host_vars/zamok.adm.crans.org.yml b/host_vars/zamok.adm.crans.org.yml
index 34e0ed9bcf1d5ecef7a69682293749890c85ff9d..8949c4df91fa343adc3d486f848efb7d90879760 100644
--- a/host_vars/zamok.adm.crans.org.yml
+++ b/host_vars/zamok.adm.crans.org.yml
@@ -10,4 +10,7 @@ loc_borg:
         - "  password: {{ vault.mysql_zamok_password }}"
 
 loc_thelounge:
+  host: "\"172.16.10.31\""
+  oidentd: "\"/usr/local/lib/thelounge/.oidentd.conf\""
+  reverseProxy: "true"
   ldap_enable: "true"
diff --git a/hosts b/hosts
index 13bbcb8b6efa56feac5f67a02d95dec14484d00c..d7bde7ff3267f5bec7a10b1561a41cbc4d6341e5 100644
--- a/hosts
+++ b/hosts
@@ -64,6 +64,7 @@ horde.adm.crans.org
 
 [irc]
 irc.adm.crans.org
+zamok.adm.crans.org
 
 [keepalived:children]
 routeurs_vm
diff --git a/roles/thelounge/templates/config.js.j2 b/roles/thelounge/templates/config.js.j2
index e7d43fcf6d8bea471fb774ccadd15393d3529f87..3dd10515c577c0f5184834296d49d1aabe9ba59c 100644
--- a/roles/thelounge/templates/config.js.j2
+++ b/roles/thelounge/templates/config.js.j2
@@ -26,7 +26,7 @@ module.exports = {
 	// For UNIX domain sockets, use `"unix:/absolute/path/to/file.sock"`.
 	//
 	// This value is set to `undefined` by default to listen on all interfaces.
-	host: undefined,
+	host: {{ thelounge.host }},
 
 	// ### `port`
 	//
@@ -49,7 +49,7 @@ module.exports = {
 	// and will honor the `X-Forwarded-For` header.
 	//
 	// This value is set to `false` by default.
-	reverseProxy: false,
+	reverseProxy: {{ thelounge.reverseProxy }},
 
 	// ### `maxHistory`
 	//
@@ -108,7 +108,7 @@ module.exports = {
 	// from URLs posted in channels and private messages.
 	//
 	// This value is set to `false` by default.
-	prefetch: false,
+	prefetch: true,
 
 	// ### `disableMediaPreview`
 	//
@@ -140,7 +140,7 @@ module.exports = {
 	// restarts.
 	//
 	// This value is set to `false` by default.
-	prefetchStorage: false,
+	prefetchStorage: true,
 
 	// ### `prefetchMaxImageSize`
 	//
@@ -351,7 +351,7 @@ module.exports = {
 	// configuration file located at the given path.
 	//
 	// This is set to `null` by default to disable `oidentd` support.
-	oidentd: null,
+	oidentd: {{ thelounge.oidentd }},
 
 	// ## LDAP support