feat: add more nginx recommended settings
This commit is contained in:
parent
614c907d8a
commit
3b00da90d0
|
@ -15,7 +15,10 @@ in {
|
||||||
proxyCachePath.cache = {
|
proxyCachePath.cache = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
recommendedGzipSettings = true;
|
||||||
|
recommendedOptimisation = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
recommendedTlsSettings = true;
|
||||||
};
|
};
|
||||||
# Nginx user needs access to mastodon unix sockets
|
# Nginx user needs access to mastodon unix sockets
|
||||||
users.users.nginx.extraGroups = [ "mastodon" ];
|
users.users.nginx.extraGroups = [ "mastodon" ];
|
||||||
|
|
Loading…
Reference in a new issue