-
Whether to enable FC-customized nginx.
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
-
Declarative vhost config
Type
attribute set of (submodule)
Default
{ }
Example
{
"hydra.example.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://localhost:3000";
};
};
};
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
-
Configures a separate access and error log in the /var/log/nginx
directory for each virtualHost.
Type
boolean
Default
true
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
-
Configuration lines to be appended inside of the http {} block.
Type
strings concatenated with "\n"
Default
""
Declarations
-
Whether to enable Global rate limiting.
Type
boolean
Default
false
Example
true
Declarations
-
Sets the maximum number of requests per second per client.
Type
positive integer, meaning >0
Default
50
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 concurrent requests per client.
Type
positive integer, meaning >0
Default
200
Declarations
-
Name of this virtual host. Defaults to attribute name in virtualHosts.
Type
null or string
Default
null
Example
"example.org"
Declarations
-
Set the contact address for Let's Encrypt (certificate expiry, policy changes).
Defaults to none.
Type
null or string
Default
null
Declarations
-
The path of the web root directory.
Type
null or path
Default
null
Example
"/data/webserver/docs"
Declarations
-
Whether to ask Let's Encrypt to sign a certificate for this vhost.
Alternately, you can use an existing certificate through <option>useACMEHost</option>.
Type
boolean
Default
false
Declarations