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;
|
owner = config.services.mastodon.user;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Nginx user needs access to mastodon unix sockets
|
||||||
|
users.users.nginx.extraGroups = [ "mastodon" ];
|
||||||
|
|
||||||
services.mastodon = {
|
services.mastodon = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# Different from WEB_DOMAIN in our case
|
# Different from WEB_DOMAIN in our case
|
||||||
|
|
|
@ -17,8 +17,6 @@ in {
|
||||||
};
|
};
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
};
|
};
|
||||||
# Nginx user needs access to mastodon unix sockets
|
|
||||||
users.users.nginx.extraGroups = [ "mastodon" ];
|
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
|
|
Loading…
Reference in a new issue