From 8a24d2ba448a474324f543578311513959069c4e Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 4 Aug 2019 11:48:23 -0700 Subject: zoneminder: fix nginx config For some reason it doesn't seem to load things in the cache directory properly without this slash. Looks like this regression may have been introduced in: commit 19851ec1fce3fabec3c6f951c3fb7d5814d24691 nixos/zoneminder: Fix nginx config check Cc: Daniel Schaefer Cc: Peter Hoeg Signed-off-by: William Casarin --- nixos/modules/services/misc/zoneminder.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules') diff --git a/nixos/modules/services/misc/zoneminder.nix b/nixos/modules/services/misc/zoneminder.nix index cf56ae89b399..315d6bb901e1 100644 --- a/nixos/modules/services/misc/zoneminder.nix +++ b/nixos/modules/services/misc/zoneminder.nix @@ -263,7 +263,7 @@ in { } location /cache/ { - alias /var/cache/${dirName}; + alias /var/cache/${dirName}/; } location ~ \.php$ { -- cgit 1.4.1