services.oauth2-proxy.nginx.virtualHosts
Nginx virtual hosts to put behind the oauth2 proxy.
You can exclude specific locations by setting auth_request off; in the locations extraConfig setting.
- Type
(attribute set of (submodule)) or (list of string) convertible to it- Default
{ }- Example
{ "protected.foo.com" = { allowed_emails = [ "boss@foo.com" ]; allowed_groups = [ "admins" ]; }; }- Declared
- <nixpkgs/nixos/modules/services/security/oauth2-proxy-nginx.nix>