From fe62ab987a88a5c2540c248f80ec08122fbadb31 Mon Sep 17 00:00:00 2001 From: Sebastien Mennetrier Date: Wed, 7 Oct 2020 17:38:32 +0200 Subject: [PATCH] Fix issues with Element (Riotchat) app --- conf/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index 0cf3732..462d900 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -121,6 +121,10 @@ location ^~ __PATH__/ { rewrite ^ __PATH__/index.php$request_uri; } + location ~* ^__PATH__/apps/riotchat/riot/ { + rewrite ^ __PATH__/index.php$request_uri; + } + # Adding the cache control header for js, css and map files location ~ ^__PATH__/.+[^\/]\.(?:css|js|woff2?|svg|gif|map)$ { try_files $uri __PATH__/index.php$request_uri;