nixpkgs/nixos/modules/services/web-servers/nginx
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
..
default.nix nginx: expose generated config and allow nginx reloads (#57429) 2019-08-21 16:52:46 +03:00
gitweb.nix nixos/gitweb: add gitwebTheme option 2018-04-17 20:07:01 +03:00
location-options.nix nixos/nginx: add return option to location 2019-03-13 17:31:01 +00:00
vhost-options.nix nixos/nginx: Support additional listen parameters (#56835) 2019-03-06 11:42:46 +02:00