diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-04 20:16:10 +0100 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-20 20:10:19 +0100 |
commit | cb73862665c040d89fbb4a66210ead376f69e468 (patch) | |
tree | 333f0bf66b837a63a5f56e71bfe18871daa8a983 /nixos/tests/nginx.nix | |
parent | aa4780077a715970541db2e382e5a108de51098e (diff) | |
download | nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar.gz nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar.bz2 nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar.lz nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar.xz nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.tar.zst nixpkgs-cb73862665c040d89fbb4a66210ead376f69e468.zip |
Revert "nixos/nginx: validate syntax of config file at build time"
This reverts commit a768871934dd263423fca2979cedd7f5e8c7379d. This is too fragile, it breaks at least on: * ssl dh params * hostnames in proxypass and upstreams are resolved in the sandbox
Diffstat (limited to 'nixos/tests/nginx.nix')
-rw-r--r-- | nixos/tests/nginx.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/nginx.nix b/nixos/tests/nginx.nix index 73f1133bd6c..d9d073822a1 100644 --- a/nixos/tests/nginx.nix +++ b/nixos/tests/nginx.nix @@ -61,7 +61,7 @@ import ./make-test-python.nix ({ pkgs, ... }: { specialisation.reloadWithErrorsSystem.configuration = { services.nginx.package = pkgs.nginxMainline; - services.nginx.virtualHosts."hello".extraConfig = "access_log /does/not/exist.log;"; + services.nginx.virtualHosts."!@$$(#*%".locations."~@#*$*!)".proxyPass = ";;;"; }; }; }; |