-
Whether to enable FC-customized nginx.
Type
boolean
Default
false
Example
true
Declarations
-
Whether to enable Global rate limiting.
Type
boolean
Default
false
Example
true
Declarations
-
Configures how often log files are rotated before being removed.
If count is 0, old versions are removed rather than rotated.
Type
signed integer
Default
7
Declarations
-
Configures a separate access and error log in the /var/log/nginx directory for each virtualHost.
Type
boolean
Default
true
Declarations
-
Addresses to listen on if a vhost does not specify any.
Type
list of string
Default
"addresses of the `fe` network (IPv4 & IPv6)"
Declarations
-
Configuration lines to be appended inside of the http {} block.
Type
strings concatenated with "\n"
Default
""
Declarations
-
Configures a timeout (seconds) for a graceful shutdown of worker processes.
When the time expires, nginx will try to close all the connections currently
open to facilitate shutdown.
By default, nginx will try to close connections 4 minutes after a reload.
Type
signed integer
Default
240
Declarations
-
Configures the number of worker processes.
Type
signed integer
Default
fclib.min [(fclib.currentCores 1) 12]
Declarations
-
Sets the maximum number of concurrent requests per client.
Type
positive integer, meaning >0
Default
200
Declarations
-
Sets the maximum number of requests to delay/queue if exceeding the rate limit.
Type
positive integer, meaning >0
Default
500
Declarations
-
Sets the maximum number of requests per second per client.
Type
positive integer, meaning >0
Default
50
Declarations
-
Whether to enable Nginx Web Server.
Type
boolean
Default
false
Example
true
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/nginx/default.nix
-
Whether to enable nginx-sso service.
Type
boolean
Default
false
Example
true
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/security/nginx-sso.nix
-
Whether to enable tailscale.nginx-auth, to authenticate nginx users via tailscale.
Type
boolean
Default
false
Example
true
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/nginx/tailscale-auth.nix
-
Whether to enable Lua scripting in nginx via OpenResty's lua-nginx-module,
wiring up lua_package_path/lua_package_cpath for
{option}services.nginx.lua.extraPackages.
Use this to add Lua to a stock nginx. For the full OpenResty platform —
required by libraries that depend on its bundled lualib (for example
lua-resty-openidc, which needs resty.string and friends) — set
{option}services.nginx.package to pkgs.openresty instead; this option
then only sets up the search path and leaves OpenResty's built-in Lua
module in place
.
Type
boolean
Default
false
Example
true
Declarations
- /nix/store/lbqq4ng1bm2cdwbrb7n1kb9cny82x297-nixpkgs-467c4476cc1/nixos/modules/services/web-servers/nginx/default.nix