services.nginx.prependConfig

NixOS option

Configuration lines prepended to the generated Nginx configuration file. Can for example be used to load modules. prependConfig can be specified more than once and its value will be concatenated (contrary to config which can be set only once).

type: strings concatenated with "\n"
Default
""
declared in: nixos/modules/services/web-servers/nginx/default.nixView source on NixOS/nixpkgs →