Fix sign in URL

This commit is contained in:
Manuel de Brito Fontes 2017-08-20 20:39:58 -03:00
parent 7010627c4c
commit b2be9f0e04
2 changed files with 18 additions and 1 deletions

View file

@ -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 */}}