testing auth
This commit is contained in:
+4
-10
@@ -4,13 +4,7 @@
|
||||
email akanealw@gmail.com
|
||||
}
|
||||
|
||||
(auth-local) {
|
||||
forward_auth authelia:9091 {
|
||||
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
|
||||
uri /api/verify?rd=https://auth.akanealw.com
|
||||
}
|
||||
}
|
||||
(auth-remote) {
|
||||
(auth) {
|
||||
forward_auth {args.0} "https://auth.akanealw.com" {
|
||||
uri /api/verify?rd=https://auth.akanealw.com
|
||||
copy_headers Remote-User Remote-Groups Remote-Name Remote-Email
|
||||
@@ -36,7 +30,7 @@
|
||||
}
|
||||
|
||||
akanealw.com {
|
||||
import auth-local
|
||||
import auth
|
||||
reverse_proxy 192.168.1.30:3005
|
||||
}
|
||||
|
||||
@@ -53,7 +47,7 @@ bitwarden.akanealw.com {
|
||||
}
|
||||
|
||||
codeserver.akanealw.com {
|
||||
import auth-local
|
||||
import auth
|
||||
reverse_proxy 192.168.1.50:3001
|
||||
}
|
||||
|
||||
@@ -70,6 +64,6 @@ linkwarden.akanealw.com {
|
||||
}
|
||||
|
||||
whoami.akanealw.com {
|
||||
import auth-local
|
||||
import auth
|
||||
reverse_proxy upstream:80
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user