3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/servers/http/nginx
Vincent Bernat 33802e9ed8 nginx: expose list of additional modules (#53897)
Currently, it seems there is no easy way to override package to add
modules. For example, if we want to add the `ipscrub` module, we can
do:

    pkgs.nginxStable.override {
      modules = [ pkgs.nginxModules.ipscrub ];
    };

But, then, we loose `rtmp`, `dav` and `moreheaders` which are defined
in `all-packages.nix`. With this modification, we can now do:

    pkgs.nginxStable.override {
      modules = pkg.nginxStable.passthru.modules ++ [ pkgs.nginxModules.ipscrub ];
    };
2019-01-31 02:15:14 +02:00
..
generic.nix nginx: expose list of additional modules (#53897) 2019-01-31 02:15:14 +02:00
mainline.nix nginxMainline: 1.15.7 -> 1.15.8 2019-01-11 07:55:25 +01:00
mainline.upstream
modules.nix nginx: init ngx_aws_auth at 2.1.1 2018-11-08 20:02:44 +01:00
stable.nix nginx: 1.14.1 -> 1.14.2 2018-12-05 10:56:06 -06:00
stable.upstream