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