From 2f58092af2344a257a05ab31f773ebbfb558eb4f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 18 Feb 2021 09:30:39 -0800 Subject: [PATCH] Fix .well-known not served up properly for redirection --- src/nginxconfig.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nginxconfig.ejs b/src/nginxconfig.ejs index d332c4961..27c9d9712 100644 --- a/src/nginxconfig.ejs +++ b/src/nginxconfig.ejs @@ -292,9 +292,11 @@ server { <% }); %> <% } else if ( endpoint === 'redirect' ) { %> + location / { # redirect everything to the app. this is temporary because there is no way # to clear a permanent redirect on the browser return 302 https://<%= redirectTo %>$request_uri; + } <% } else if ( endpoint === 'ip' ) { %> location /notfound.html { root <%= sourceDir %>/dashboard/dist;