Allows auth information from AccessList not to be passed to proxied hosts. Resolves issue #153.

Signed-off-by: James Morgan <jmorgan.au+github@gmail.com>
This commit is contained in:
James Morgan committed 2020-10-15 10:23:09 +11:00
1 parent 165bfc9f5f
commit 0df0545777
8 files changed
+71 -1

No files matched your search

+4
View File
@@ -93,6 +93,10 @@ class AccessList extends Model {
get satisfy() {
return this.satisfy_any ? 'satisfy any' : 'satisfy all';
}
get passauth() {
return this.pass_auth ? '' : 'proxy_set_header Authorization "";';
}
}
module.exports = AccessList;