diff options
author | Parnell Springmeyer <ixmatus@users.noreply.github.com> | 2017-11-16 12:21:02 -0600 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-11-16 18:21:02 +0000 |
commit | cb11bf73a511819ee36c4bddb97573aacda0b161 (patch) | |
tree | f4256571834c529fb6fa204f3163a7b965302574 /nixos/modules/services/networking/nghttpx/tls-submodule.nix | |
parent | 8bd10a17c6c811b423126af1d3dc37aa82a7c131 (diff) |
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
Diffstat (limited to 'nixos/modules/services/networking/nghttpx/tls-submodule.nix')
-rw-r--r-- | nixos/modules/services/networking/nghttpx/tls-submodule.nix | 21 |
1 files changed, 21 insertions, 0 deletions
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. + ''; + }; + }; +} |