about summary refs log tree commit diff
path: root/pkgs/servers/http/nginx
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-10-20 12:58:51 +0300
committerArtturin <Artturin@artturin.com>2023-10-23 06:09:45 +0300
commitd3234553aa9713592215308bd4bd898c0e46f24e (patch)
tree892fa5dd6080e1a8fd143cea237ebb7c2245946f /pkgs/servers/http/nginx
parent13f325005cc9037f558a24772cb4b8e9572163d4 (diff)
downloadnixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar.gz
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar.bz2
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar.lz
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar.xz
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.tar.zst
nixlib-d3234553aa9713592215308bd4bd898c0e46f24e.zip
nixosTests.nginx-sandbox: remove broken test and move the sandboxing test to the openresty test
nginx lua needs resty

the enableSandbox option of nginx was removed in 535896671b66d308df3ce467c94f8a9fecfdffea

the test fails with

```
vm-test-run-nginx-sandbox> machine # [   47.753580] nginx[1142]: nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html)
vm-test-run-nginx-sandbox> machine # [   47.756064] nginx[1142]: nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://openresty.org/en/download.html (reason: module 'resty.core' not found:
vm-test-run-nginx-sandbox> machine # [   57.911766] systemd[1]: Failed to start Nginx Web Server.
```
Diffstat (limited to 'pkgs/servers/http/nginx')
-rw-r--r--pkgs/servers/http/nginx/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index 8f90adab101b..6194548a6a99 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/pkgs/servers/http/nginx/generic.nix
@@ -186,7 +186,7 @@ stdenv.mkDerivation {
   passthru = {
     inherit modules;
     tests = {
-      inherit (nixosTests) nginx nginx-auth nginx-etag nginx-globalredirect nginx-http3 nginx-proxyprotocol nginx-pubhtml nginx-sandbox nginx-sso nginx-status-page nginx-unix-socket;
+      inherit (nixosTests) nginx nginx-auth nginx-etag nginx-globalredirect nginx-http3 nginx-proxyprotocol nginx-pubhtml nginx-sso nginx-status-page nginx-unix-socket;
       variants = lib.recurseIntoAttrs nixosTests.nginx-variants;
       acme-integration = nixosTests.acme;
     } // passthru.tests;