syncthing: use nextcloud for fotos and music on smartphone now
This commit is contained in:
parent
7f741e5587
commit
eb837a18a5
6 changed files with 31 additions and 57 deletions
|
@ -50,10 +50,6 @@
|
|||
enable = true;
|
||||
path = "/home/palo/pepe-schasch";
|
||||
};
|
||||
smartphone-fotos = {
|
||||
enable = true;
|
||||
path = "/home/palo/smartphone-fotos";
|
||||
};
|
||||
workout-pepe = {
|
||||
enable = true;
|
||||
path = "/home/palo/pepe-workout";
|
||||
|
|
|
@ -158,31 +158,31 @@
|
|||
};
|
||||
};
|
||||
|
||||
"nextcloud.gaykraft.com" = {
|
||||
listen = [
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 4443;
|
||||
ssl = true;
|
||||
}
|
||||
{
|
||||
addr = "0.0.0.0";
|
||||
port = 80;
|
||||
ssl = false;
|
||||
}
|
||||
];
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://nextcloud.workhorse.private";
|
||||
extraConfig = ''
|
||||
sub_filter "http://nextcloud.gaykraft.com" "https://nextcloud.gaykraft.com";
|
||||
sub_filter "nextcloud.workhorse.private" "nextcloud.gaykraft.com";
|
||||
# used for view/edit office file via Office Online Server
|
||||
client_max_body_size 0;
|
||||
'';
|
||||
};
|
||||
};
|
||||
#"nextcloud.gaykraft.com" = {
|
||||
# listen = [
|
||||
# {
|
||||
# addr = "0.0.0.0";
|
||||
# port = 4443;
|
||||
# ssl = true;
|
||||
# }
|
||||
# {
|
||||
# addr = "0.0.0.0";
|
||||
# port = 80;
|
||||
# ssl = false;
|
||||
# }
|
||||
# ];
|
||||
# forceSSL = true;
|
||||
# enableACME = true;
|
||||
# locations."/" = {
|
||||
# proxyPass = "http://nextcloud.workhorse.private";
|
||||
# extraConfig = ''
|
||||
# sub_filter "http://nextcloud.gaykraft.com" "https://nextcloud.gaykraft.com";
|
||||
# sub_filter "nextcloud.workhorse.private" "nextcloud.gaykraft.com";
|
||||
# # used for view/edit office file via Office Online Server
|
||||
# client_max_body_size 0;
|
||||
# '';
|
||||
# };
|
||||
#};
|
||||
|
||||
"seafile.gaykraft.com" = {
|
||||
listen = [
|
||||
|
|
|
@ -38,14 +38,6 @@
|
|||
enable = true;
|
||||
path = "/home/palo/samples";
|
||||
};
|
||||
smartphone-fotos = {
|
||||
enable = true;
|
||||
path = "/home/palo/smartphone-fotos";
|
||||
};
|
||||
smartphone-music = {
|
||||
enable = true;
|
||||
path = "/home/palo/smartphone-music";
|
||||
};
|
||||
|
||||
# no need to be encrypted
|
||||
# -----------------------
|
||||
|
|
|
@ -31,12 +31,12 @@
|
|||
autoUpdateApps.enable = true;
|
||||
config.adminpassFile = toString <secrets/nextcloud/rootpassword>;
|
||||
nginx.enable = true;
|
||||
hostName = "nextcloud.workhorse.private";
|
||||
hostName = "nextcloud.ingolf-wagner.de";
|
||||
logLevel = 2;
|
||||
config.overwriteProtocol = "https";
|
||||
config.extraTrustedDomains = [
|
||||
"nextcloud.ingolf-wagner.de"
|
||||
"nextcloud.gaykraft.com"
|
||||
#"nextcloud.gaykraft.com"
|
||||
"192.168.100.11"
|
||||
];
|
||||
};
|
||||
|
@ -59,8 +59,10 @@
|
|||
recommendedProxySettings = true;
|
||||
virtualHosts = {
|
||||
"nextcloud.workhorse.private" = {
|
||||
serverAliases =
|
||||
[ "nextcloud.ingolf-wagner.de" "nextcloud.gaykraft.com" ];
|
||||
serverAliases = [
|
||||
"nextcloud.ingolf-wagner.de"
|
||||
# "nextcloud.gaykraft.com"
|
||||
];
|
||||
locations."/" = {
|
||||
proxyPass = "http://192.168.100.11";
|
||||
extraConfig = ''
|
||||
|
|
|
@ -62,10 +62,6 @@
|
|||
enable = true;
|
||||
path = "/home/palo/samples";
|
||||
};
|
||||
smartphone-fotos = {
|
||||
enable = true;
|
||||
path = "/home/palo/smartphone-fotos";
|
||||
};
|
||||
video-material = {
|
||||
enable = true;
|
||||
path = "/home/palo/video-material";
|
||||
|
|
|
@ -137,18 +137,6 @@ with lib; {
|
|||
watch = false;
|
||||
devices = [ "workhorse" "porani" ];
|
||||
};
|
||||
smartphone-music = {
|
||||
enable = lib.mkDefault false;
|
||||
id = "0vjze-xvs8n";
|
||||
watch = false;
|
||||
devices = [ "sterni" "smartphone" ];
|
||||
};
|
||||
smartphone-fotos = {
|
||||
enable = lib.mkDefault false;
|
||||
id = "e5823_jtbr-photos";
|
||||
watch = false;
|
||||
devices = [ "sterni" "workout" "pepe" "smartphone" ];
|
||||
};
|
||||
video-material = {
|
||||
enable = lib.mkDefault false;
|
||||
id = "wgkun-fec5h";
|
||||
|
|
Loading…
Reference in a new issue