summary refs log tree commit diff
path: root/nixos/modules/services/security/oauth2_proxy.nix
diff options
context:
space:
mode:
authorYorick van Pelt <yorick@yorickvanpelt.nl>2018-04-27 16:45:38 +0200
committerYorick van Pelt <yorick@yorickvanpelt.nl>2018-04-27 16:45:38 +0200
commit048c991eb0344c368ba9b29e0168faf8b2aff9f7 (patch)
tree2d2529afe2a7456649289960677cb91d97ba54ad /nixos/modules/services/security/oauth2_proxy.nix
parenta037cbd46bab2553921c5d5de51641bfdcf902a9 (diff)
downloadnixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar.gz
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar.bz2
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar.lz
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar.xz
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.tar.zst
nixpkgs-048c991eb0344c368ba9b29e0168faf8b2aff9f7.zip
oauth2_proxy: use explicit upstream default for setXauthrequest
Diffstat (limited to 'nixos/modules/services/security/oauth2_proxy.nix')
-rw-r--r--nixos/modules/services/security/oauth2_proxy.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/security/oauth2_proxy.nix b/nixos/modules/services/security/oauth2_proxy.nix
index cf41625d16c..433d97c2a7d 100644
--- a/nixos/modules/services/security/oauth2_proxy.nix
+++ b/nixos/modules/services/security/oauth2_proxy.nix
@@ -508,9 +508,9 @@ in
 
     setXauthrequest = mkOption {
       type = types.nullOr types.bool;
-      default = null;
+      default = false;
       description = ''
-        Set X-Auth-Request-User and X-Auth-Request-Email response headers (useful in Nginx auth_request mode).
+        Set X-Auth-Request-User and X-Auth-Request-Email response headers (useful in Nginx auth_request mode). Setting this to 'null' means using the upstream default (false).
       '';
     };