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, ... }:
|
||||
let
|
||||
oo_domain = "onlyoffice.mc-fucker.cool";
|
||||
domain = "nc.mc-fucker.cool";
|
||||
in
|
||||
{
|
||||
|
||||
|
|
@ -24,7 +25,7 @@ in
|
|||
autoUpdateApps.enable = true;
|
||||
enable = true;
|
||||
caching.redis = true;
|
||||
hostName = "nc.mc-fucker.cool";
|
||||
hostName = "${domain}";
|
||||
package = pkgs.nextcloud25;
|
||||
https = true;
|
||||
config = {
|
||||
|
|
@ -37,6 +38,7 @@ in
|
|||
adminuser = "Superadmin";
|
||||
defaultPhoneRegion = "DE";
|
||||
};
|
||||
enableBrokenCiphersForSSE = false;
|
||||
#poolSettings = {
|
||||
# "pm" = "dynamic";
|
||||
# "pm.max_children" = "256";
|
||||
|
|
@ -50,10 +52,14 @@ in
|
|||
services.nginx = {
|
||||
#package = pkgs.nginxMainline;
|
||||
package = pkgs.nginxQuic;
|
||||
virtualHosts."${config.services.nextcloud.hostName}" = {
|
||||
virtualHosts."${domain}" = {
|
||||
forceSSL = true;
|
||||
enableACME = 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