Fix sign in URL
This commit is contained in:
parent
7010627c4c
commit
b2be9f0e04
2 changed files with 18 additions and 1 deletions
|
|
@ -585,7 +585,7 @@ stream {
|
|||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.ExternalAuth.SigninURL) }}
|
||||
error_page 401 = {{ $location.ExternalAuth.SigninURL }}?rd=$request_uri;
|
||||
error_page 401 = {{ buildAuthSignURL $location.ExternalAuth.SigninURL }};
|
||||
{{ end }}
|
||||
|
||||
{{/* if the location contains a rate limit annotation, create one */}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue