mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-29 09:04:17 +00:00
cb11bf73a5
* nghttpx: Add a new NixOS module for the nghttpx proxy server This change also adds a global `uid` and `gid` for a `nghttpx` user and group as well as an integration test. * nixos/nghttpx: fix building manual
19 lines
351 B
Nix
19 lines
351 B
Nix
{ lib, ... }:
|
|
{ options = {
|
|
host = lib.mkOption {
|
|
type = lib.types.str;
|
|
example = "127.0.0.1";
|
|
description = ''
|
|
Server host address.
|
|
'';
|
|
};
|
|
port = lib.mkOption {
|
|
type = lib.types.int;
|
|
example = 5088;
|
|
description = ''
|
|
Server host port.
|
|
'';
|
|
};
|
|
};
|
|
}
|