Configure nextcloud for montalin
This commit is contained in:
parent
d5cb513227
commit
f9c7e0ed0c
6 changed files with 58 additions and 17 deletions
|
@ -1,4 +1,6 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ config, pkgs, ... }: let
|
||||
host = "chur.fh2.ch";
|
||||
in {
|
||||
|
||||
imports = [
|
||||
|
||||
|
@ -6,7 +8,13 @@
|
|||
];
|
||||
|
||||
services.nextcloud = {
|
||||
hostName = "cloud.qo.is";
|
||||
#hostName = "cloud.qo.is";
|
||||
hostName = host;
|
||||
package = pkgs.nextcloud19;
|
||||
};
|
||||
services.nginx.virtualHosts."${host}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue