Seafile fuckup I did this on the wrong server
This commit is contained in:
parent
cca62aad4f
commit
33236aedc6
|
@ -1,8 +1,9 @@
|
|||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./nextcloud
|
||||
#./nextcloud
|
||||
./nfs
|
||||
./samba
|
||||
./seafile
|
||||
];
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
https = true;
|
||||
config = {
|
||||
adminuser = "jimbo";
|
||||
adminpassFile = "/mnt/nextcloud/password.txt";
|
||||
adminpassFile = "${pkgs.writeText "nextpass" config.secrets.jimboAccPass}";
|
||||
};
|
||||
settings = {
|
||||
trusted_proxies = [ "127.0.0.1" ];
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
services.seafile = {
|
||||
enable = true;
|
||||
gc.enable = true;
|
||||
group = "nfsShare";
|
||||
adminEmail = "contact@${config.domains.p2}";
|
||||
initialAdminPassword = config.secrets.jimboAccPass;
|
||||
};
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."cloud.${config.domains.p2}" = lib.mkIf config.services.icecast.enable {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://127.0.0.1:8082";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue