aboutsummaryrefslogtreecommitdiff
path: root/nixos/tests/nginx.nix (follow)
Commit message (Collapse)AuthorAgeFilesLines
* nginx: expose generated config and allow nginx reloads (#57429)Danylo Hlynskyi2019-08-211-17/+43
| | | | | | | | | | | | | | | | | | * 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`
* nixos/tests/nginx: Add subtest for Nix ETag patchaszlig2019-04-181-14/+56
| | | | | | | | | | This is to make sure that we get different ETag values whenever we switch to a different store path but with the same file contents. I've checked this against the old behaviour without the patch and it fails as expected. Signed-off-by: aszlig <aszlig@nix.build>
* nixos/nginx: fix error in writeNginxConfigIzorkin2019-04-081-0/+1
|
* [bot] nixos/*: remove unused arguments in lambdasvolth2018-07-201-1/+1
|
* nixos/tests/nginx: fix nameFranz Pletz2017-08-111-1/+1
|
* nginx service: add commonHttpConfig optionSusan Potter2017-02-281-0/+42