services: nextcloud fix https acme
This commit is contained in:
parent
1a41b8ceb5
commit
0d7adb3563
@ -1,11 +1,12 @@
|
||||
|
||||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "cloud2.kabtop.de";
|
||||
https = true;
|
||||
package = pkgs.nextcloud25;
|
||||
enableBrokenCiphersForSSE = false;
|
||||
config = {
|
||||
dbtype = "pgsql";
|
||||
dbuser = "nextcloud";
|
||||
@ -20,13 +21,19 @@
|
||||
phpOptions = {
|
||||
"opcache.interned_strings_buffer" = "16";
|
||||
};
|
||||
#phpExtraExtensions = ;
|
||||
#extraApps = with pkgs.nextcloud25Packages.apps; {
|
||||
# inherit mail news contacts;
|
||||
#};
|
||||
#autoUpdateApps.enable = true;
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"${config.services.nextcloud.hostName}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
age.secrets."services/nextcloud/dbpassFile" = {
|
||||
file = ../../../secrets/services/nextcloud/dbpassFile.age;
|
||||
owner = "nextcloud";
|
||||
|
Loading…
Reference in New Issue
Block a user