Adds support for root context redirection
This commit is contained in:
parent
dd7f8b4a97
commit
04af55af3c
5 changed files with 32 additions and 2 deletions
|
|
@ -236,7 +236,11 @@ http {
|
|||
ssl_verify_client on;
|
||||
ssl_verify_depth {{ $location.CertificateAuth.ValidationDepth }};
|
||||
{{ end }}
|
||||
|
||||
{{ if not (empty $location.Redirect.AppRoot)}}
|
||||
location = / {
|
||||
return 302 ${{ location.Redirect.AppRoot }};
|
||||
}
|
||||
{{ end }}
|
||||
{{ if not (empty $authPath) }}
|
||||
location = {{ $authPath }} {
|
||||
internal;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue