Redirect to OAuth when login to forgejo
This commit is contained in:
parent
f9b9da6f31
commit
a0384deef0
1 changed files with 3 additions and 0 deletions
|
@ -129,6 +129,9 @@ in {
|
|||
locations."/" = {
|
||||
proxyPass = "http://192.168.1.14:3000";
|
||||
recommendedProxySettings = true;
|
||||
extraConfig = ''
|
||||
rewrite ^/user/login$ /user/oauth2/authentik;
|
||||
'';
|
||||
};
|
||||
};
|
||||
"authentik.le43.eu" = {
|
||||
|
|
Loading…
Add table
Reference in a new issue