From cb11bf73a511819ee36c4bddb97573aacda0b161 Mon Sep 17 00:00:00 2001 From: Parnell Springmeyer Date: Thu, 16 Nov 2017 12:21:02 -0600 Subject: nixos/nghttpx: add module for the nghttpx proxy server (#31680) * 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 --- .../services/networking/nghttpx/tls-submodule.nix | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 nixos/modules/services/networking/nghttpx/tls-submodule.nix (limited to 'nixos/modules/services/networking/nghttpx/tls-submodule.nix') diff --git a/nixos/modules/services/networking/nghttpx/tls-submodule.nix b/nixos/modules/services/networking/nghttpx/tls-submodule.nix new file mode 100644 index 0000000000000..8f3cdaae2c818 --- /dev/null +++ b/nixos/modules/services/networking/nghttpx/tls-submodule.nix @@ -0,0 +1,21 @@ +{lib, ...}: +{ options = { + key = lib.mkOption { + type = lib.types.str; + example = "/etc/ssl/keys/mykeyfile.key"; + default = "/etc/ssl/keys/server.key"; + description = '' + Path to the TLS key file. + ''; + }; + + crt = lib.mkOption { + type = lib.types.str; + example = "/etc/ssl/certs/mycert.crt"; + default = "/etc/ssl/certs/server.crt"; + description = '' + Path to the TLS certificate file. + ''; + }; + }; +} -- cgit 1.4.1