From e3763a712162817f9d8b04144e83d73f4c402a0d Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 13 Jan 2021 22:47:41 +0100 Subject: [PATCH] [irc] Add redirections Signed-off-by: Yohann D'ANELLO --- host_vars/irc.adm.crans.org.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/host_vars/irc.adm.crans.org.yml b/host_vars/irc.adm.crans.org.yml index 39a43fd5..ddd54b17 100644 --- a/host_vars/irc.adm.crans.org.yml +++ b/host_vars/irc.adm.crans.org.yml @@ -18,3 +18,9 @@ loc_nginx: params: - "proxy_pass http://localhost:9000/" - "include \"/etc/nginx/snippets/options-proxypass.conf\"" + - filter: "~ ^/$" + params: + - "redirect 302 https://irc.crans.org/web/" + - filter: "/" + params: + - "redirect 302 \"https://wiki.crans.org/VieCrans/UtiliserIrc#Via_l.27interface_web\""