forked from pub-solar/infra
refactor: add nginx to mastodon group in mastodon module
This commit is contained in:
parent
7bbccd855f
commit
b7d0e23703
|
@ -32,6 +32,9 @@
|
|||
owner = config.services.mastodon.user;
|
||||
};
|
||||
|
||||
# Nginx user needs access to mastodon unix sockets
|
||||
users.users.nginx.extraGroups = [ "mastodon" ];
|
||||
|
||||
services.mastodon = {
|
||||
enable = true;
|
||||
# Different from WEB_DOMAIN in our case
|
||||
|
|
|
@ -17,8 +17,6 @@ in {
|
|||
};
|
||||
recommendedProxySettings = true;
|
||||
};
|
||||
# Nginx user needs access to mastodon unix sockets
|
||||
users.users.nginx.extraGroups = [ "mastodon" ];
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
Loading…
Reference in a new issue