added flag for openssl 3
This commit is contained in:
parent
a6d1dc7bbc
commit
ea2a19bece
1 changed files with 8 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, config, lib, ... }:
|
{ pkgs, config, lib, ... }:
|
||||||
let
|
let
|
||||||
oo_domain = "onlyoffice.mc-fucker.cool";
|
oo_domain = "onlyoffice.mc-fucker.cool";
|
||||||
|
domain = "nc.mc-fucker.cool";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -24,7 +25,7 @@ in
|
||||||
autoUpdateApps.enable = true;
|
autoUpdateApps.enable = true;
|
||||||
enable = true;
|
enable = true;
|
||||||
caching.redis = true;
|
caching.redis = true;
|
||||||
hostName = "nc.mc-fucker.cool";
|
hostName = "${domain}";
|
||||||
package = pkgs.nextcloud25;
|
package = pkgs.nextcloud25;
|
||||||
https = true;
|
https = true;
|
||||||
config = {
|
config = {
|
||||||
|
|
@ -37,6 +38,7 @@ in
|
||||||
adminuser = "Superadmin";
|
adminuser = "Superadmin";
|
||||||
defaultPhoneRegion = "DE";
|
defaultPhoneRegion = "DE";
|
||||||
};
|
};
|
||||||
|
enableBrokenCiphersForSSE = false;
|
||||||
#poolSettings = {
|
#poolSettings = {
|
||||||
# "pm" = "dynamic";
|
# "pm" = "dynamic";
|
||||||
# "pm.max_children" = "256";
|
# "pm.max_children" = "256";
|
||||||
|
|
@ -50,10 +52,14 @@ in
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
#package = pkgs.nginxMainline;
|
#package = pkgs.nginxMainline;
|
||||||
package = pkgs.nginxQuic;
|
package = pkgs.nginxQuic;
|
||||||
virtualHosts."${config.services.nextcloud.hostName}" = {
|
virtualHosts."${domain}" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
#http3 = true;
|
#http3 = true;
|
||||||
|
extraConfig = ''
|
||||||
|
access_log /var/log/nginx/${domain}_access.log;
|
||||||
|
error_log /var/log/nginx/${domain}_error.log;
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue