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;