change redirections to 301
This commit is contained in:
@@ -357,9 +357,8 @@ 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;
|
||||
# redirect everything to the app
|
||||
return 301 https://<%= redirectTo %>$request_uri;
|
||||
}
|
||||
<% } else if ( endpoint === 'external' ) { %>
|
||||
<% if (proxyAuth.enabled) { %>
|
||||
|
||||
Reference in New Issue
Block a user