From 7c1abf3aee5109bfbcf01774b9593de6515b34c5 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 27 Jan 2021 15:00:28 +0100 Subject: [PATCH] [thelounge/nginx] Return is not redirect Signed-off-by: Yohann D'ANELLO --- host_vars/irc.adm.crans.org.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/host_vars/irc.adm.crans.org.yml b/host_vars/irc.adm.crans.org.yml index d66d7c4e..c825629f 100644 --- a/host_vars/irc.adm.crans.org.yml +++ b/host_vars/irc.adm.crans.org.yml @@ -20,10 +20,10 @@ loc_nginx: - "include \"/etc/nginx/snippets/options-proxypass.conf\"" - filter: "~ ^/$" params: - - "redirect 302 https://irc.crans.org/web/" + - "return 302 https://irc.crans.org/web/" - filter: "/" params: - - "redirect 302 \"https://wiki.crans.org/VieCrans/UtiliserIrc#Via_l.27interface_web\"" + - "return 302 \"https://wiki.crans.org/VieCrans/UtiliserIrc#Via_l.27interface_web\"" loc_thelounge: public: "true"