services.nginx.prependConfig

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
<nixpkgs/nixos/modules/services/web-servers/nginx/default.nix>