From 4fc212faa72ac61502ffcd38ad744f3ae50f0041 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 2 Sep 2023 12:47:53 -0700 Subject: [PATCH] Missing semicolon, fix postgres user --- nextcloud-container.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextcloud-container.nix b/nextcloud-container.nix index da9811b..8eff61c 100644 --- a/nextcloud-container.nix +++ b/nextcloud-container.nix @@ -127,7 +127,7 @@ in { volumes = [ "${cfg.state-directory}/postgres:/var/lib/postgresql/data" ]; healthcheck = { - test = [ "CMD" "pg_isready" "-U" "authentik" "-d" "authentik" ]; + test = [ "CMD" "pg_isready" "-U" "nextcloud" "-d" "nextcloud" ]; start_period = "20s"; interval = "30s"; timeout = "3s"; @@ -179,7 +179,7 @@ in { return = "301 $scheme://$host:$server_port/remote.hph/dav"; }; - "/" = { extraConfig = "rewrite ^ /index.php"; }; + "/" = { extraConfig = "rewrite ^ /index.php;"; }; "~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/".extraConfig = "deny all;"; "~ ^/(?:.|autotest|occ|issue|indie|db_|console)".extraConfig =