Admins will be upgrading ORNL GitLab Servers on Saturday, 16 May 2026, from 7 AM until 11 AM EST. Repositories will experience intermittent outages during this time.
HTTPS listening address. This module does not expose the port by
@@ -419,8 +418,8 @@ in
};
htpasswd={
file=mkOption{
type=types.nullOrtypes.path;
file=lib.mkOption{
type=lib.types.nullOrlib.types.path;
default=null;
description=''
Additionally authenticate against a htpasswd file. Entries must be
@@ -428,8 +427,8 @@ in
'';
};
displayForm=mkOption{
type=types.bool;
displayForm=lib.mkOption{
type=lib.types.bool;
default=true;
description=''
Display username / password login form if an htpasswd file is provided.
@@ -437,16 +436,16 @@ in
};
};
customTemplatesDir=mkOption{
type=types.nullOrtypes.path;
customTemplatesDir=lib.mkOption{
type=lib.types.nullOrlib.types.path;
default=null;
description=''
Path to custom HTML templates.
'';
};
reverseProxy=mkOption{
type=types.bool;
reverseProxy=lib.mkOption{
type=lib.types.bool;
default=false;
description=''
In case when running behind a reverse proxy, controls whether headers
@@ -456,8 +455,8 @@ in
'';
};
proxyPrefix=mkOption{
type=types.str;
proxyPrefix=lib.mkOption{
type=lib.types.str;
default="/oauth2";
description=''
The url root path that this proxy should be nested under.
@@ -465,30 +464,30 @@ in
};
tls={
enable=mkOption{
type=types.bool;
enable=lib.mkOption{
type=lib.types.bool;
default=false;
description=''
Whether to serve over TLS.
'';
};
certificate=mkOption{
type=types.path;
certificate=lib.mkOption{
type=lib.types.path;
description=''
Path to certificate file.
'';
};
key=mkOption{
type=types.path;
key=lib.mkOption{
type=lib.types.path;
description=''
Path to private key file.
'';
};
httpsAddress=mkOption{
type=types.str;
httpsAddress=lib.mkOption{
type=lib.types.str;
default=":443";
description=''
`addr:port` to listen on for HTTPS clients.
@@ -500,8 +499,8 @@ in
};
};
requestLogging=mkOption{
type=types.bool;
requestLogging=lib.mkOption{
type=lib.types.bool;
default=true;
description=''
Log requests to stdout.
@@ -512,42 +511,42 @@ in
# UNKNOWN
# XXX: Is this mandatory? Is it part of another group? Is it part of the provider specification?
scope=mkOption{
scope=lib.mkOption{
# XXX: jml suspects this is always necessary, but the command-line
# doesn't require it so making it optional.
type=types.nullOrtypes.str;
type=lib.types.nullOrlib.types.str;
default=null;
description=''
OAuth scope specification.
'';
};
profileURL=mkOption{
type=types.nullOrtypes.str;
profileURL=lib.mkOption{
type=lib.types.nullOrlib.types.str;
default=null;
description=''
Profile access endpoint.
'';
};
setXauthrequest=mkOption{
type=types.nullOrtypes.bool;
setXauthrequest=lib.mkOption{
type=lib.types.nullOrlib.types.bool;
default=false;
description=''
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).
'';
};
extraConfig=mkOption{
extraConfig=lib.mkOption{
default={};
type=types.attrsOftypes.anything;
type=lib.types.attrsOflib.types.anything;
description=''
Extra config to pass to oauth2-proxy.
'';
};
keyFile=mkOption{
type=types.nullOrtypes.path;
keyFile=lib.mkOption{
type=lib.types.nullOrlib.types.path;
default=null;
description=''
oauth2-proxy allows passing sensitive configuration via environment variables.