nixpkgs/nixos
Danylo Hlynskyi 855be67358
nginx: expose generated config and allow nginx reloads (#57429)
* nginx: expose generated config and allow nginx reloads

Fixes: https://github.com/NixOS/nixpkgs/issues/15906
Another try was done, but not yet merged in https://github.com/NixOS/nixpkgs/pull/24476

This add 2 new features: ability to review generated Nginx config
(and NixOS has sophisticated generation!) and reloading
of nginx on config changes. This preserves nginx restart on package
updates.

I've modified nginx test to use this new feature and check reload/restart
behavior.

* rename to enableReload

* add sleep(1) in ETag test (race condition) and rewrite rebuild-switch using `nesting.clone`
2019-08-21 16:52:46 +03:00
..
doc Merge pull request #66492 from aanderse/extra-subservice-cleanup 2019-08-20 18:55:08 -04:00
lib Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
maintainers mass replace "flip map -> forEach" 2019-08-05 14:03:38 +03:00
modules nginx: expose generated config and allow nginx reloads (#57429) 2019-08-21 16:52:46 +03:00
tests nginx: expose generated config and allow nginx reloads (#57429) 2019-08-21 16:52:46 +03:00
COPYING
default.nix
README
release-combined.nix nixosTests.pantheon: enable for all platforms 2019-08-07 15:55:39 -04:00
release-small.nix release-small.nix: Don't depend on currentSystem 2019-06-19 14:07:37 +02:00
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.