From 8b09f19add67ac4496169a7d986df85603645497 Mon Sep 17 00:00:00 2001 From: teutat3s Date: Sat, 28 Oct 2023 21:30:37 +0200 Subject: [PATCH] fix: nginx user needs access to mastodon's unix socket --- hosts/nachtigall/apps/nginx.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/nachtigall/apps/nginx.nix b/hosts/nachtigall/apps/nginx.nix index fc95c22..abc71a1 100644 --- a/hosts/nachtigall/apps/nginx.nix +++ b/hosts/nachtigall/apps/nginx.nix @@ -16,6 +16,8 @@ in { enable = true; }; }; + # Nginx user needs access to mastodon unix sockets + users.users.nginx.extraGroups = [ "mastodon" ]; security.acme = { acceptTerms = true;