Fix .well-known not served up properly for redirection

This commit is contained in:
Girish Ramakrishnan
2021-02-18 09:30:39 -08:00
parent 1f7877e0e5
commit 2f58092af2

View File

@@ -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;