Is it important to disable nscd?
This commit is contained in:
parent
f40c3f3758
commit
d8c20e3c65
|
@ -144,13 +144,16 @@ in {
|
|||
system.nssModules = lib.mkForce [ ];
|
||||
systemd.services.nginx.serviceConfig.AmbientCapabilities =
|
||||
lib.mkForce [ "CAP_NET_BIND_SERVICE" ];
|
||||
services.nginx = {
|
||||
services = {
|
||||
nscd.enable = false;
|
||||
nginx = {
|
||||
enable = true;
|
||||
recommendedZstdSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedGzipSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
upstreams.php-handler.extraConfig = "server nextcloud:9000;";
|
||||
upstreams.php-handler.extraConfig =
|
||||
"server nextcloud:9000;";
|
||||
virtualHosts."localhost" = {
|
||||
extraConfig = ''
|
||||
add_header Referrer-Policy "no-referrer" always;
|
||||
|
@ -230,6 +233,7 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
service = {
|
||||
# useHostStore = true;
|
||||
ports = [ "${toString cfg.port}:80" ];
|
||||
|
|
Loading…
Reference in New Issue