awegjiopWReg

This commit is contained in:
Sakooooo 2025-01-03 23:29:41 +04:00
parent cc0feddb20
commit 3132d2e91b
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -35,7 +35,7 @@ in {
adminpassFile = "/srv/secrets/nextcloud/admin-temp-pass"; adminpassFile = "/srv/secrets/nextcloud/admin-temp-pass";
}; };
settings = { settings = {
maintenance_window_start = 1; # maintenance_window_start = 1;
trusted_domains = [ "https://nextcloud.sako.box" ]; trusted_domains = [ "https://nextcloud.sako.box" ];
trusted_proxies = [ "https://nextcloud.sako.box" ]; trusted_proxies = [ "https://nextcloud.sako.box" ];
@ -47,28 +47,28 @@ in {
default_phone_region = "AE"; default_phone_region = "AE";
lost_password_link = "disabled"; lost_password_link = "disabled";
}; };
phpOptions = { # phpOptions = {
"opcache.enable" = "1"; # "opcache.enable" = "1";
"opcache.enable_cli" = "1"; # "opcache.enable_cli" = "1";
"opcache.validate_timestamps" = "0"; # "opcache.validate_timestamps" = "0";
"opcache.save_comments" = "1"; # "opcache.save_comments" = "1";
# <https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html> # # <https://docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html>
"opcache.jit" = "1255"; # "opcache.jit" = "1255";
"opcache.jit_buffer_size" = "256M"; # "opcache.jit_buffer_size" = "256M";
# fix the opcache "buffer is almost full" error in admin overview # # fix the opcache "buffer is almost full" error in admin overview
"opcache.interned_strings_buffer" = "16"; # "opcache.interned_strings_buffer" = "16";
# try to resolve delays in displaying content or incomplete page rendering # # try to resolve delays in displaying content or incomplete page rendering
"output_buffering" = "off"; # "output_buffering" = "off";
"pm" = "dynamic"; # "pm" = "dynamic";
"pm.max_children" = "50"; # "pm.max_children" = "50";
"pm.start_servers" = "15"; # "pm.start_servers" = "15";
"pm.min_spare_servers" = "15"; # "pm.min_spare_servers" = "15";
"pm.max_spare_servers" = "25"; # "pm.max_spare_servers" = "25";
"pm.max_requests" = "500"; # "pm.max_requests" = "500";
}; # };
}; };
nginx.virtualHosts."nextcloud.sako.box" = { nginx.virtualHosts."nextcloud.sako.box" = {
forceSSL = true; forceSSL = true;