authelia-nginx: fix hardcoded domain
This commit is contained in:
parent
43e6fe30f0
commit
cbbed221c9
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ let
|
|||
|
||||
## Legacy Method: When there is a 401 response code from the authz endpoint redirect to the portal with the 'rd'
|
||||
## URL parameter set to $target_url. This requires users update 'auth.example.com/' with their external authelia URL.
|
||||
error_page 401 =302 https://auth.fricloud.dk/?rd=$target_url;
|
||||
error_page 401 =302 https://${config.mine.shared.settings.authelia.domain}/?rd=$target_url;
|
||||
'';
|
||||
in {
|
||||
mine.shared.lib.authelia.mkProtectedWebsite = { vhostConfig, endpoint ? "/" }: lib.recursiveUpdate vhostConfig {
|
||||
|
|
Loading…
Reference in a new issue