mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-01-18 13:29:32 +01:00
(bug): fixed nextcloud behind reverse proxy
This commit is contained in:
parent
d117a2a2eb
commit
7263636422
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -1,2 +1,3 @@
|
||||||
#pattern filter=crypt diff=crypt merge=crypt
|
#pattern filter=crypt diff=crypt merge=crypt
|
||||||
features/server/services/forgejo-smtp.nix filter=crypt diff=crypt
|
features/server/services/forgejo-smtp.nix filter=crypt diff=crypt
|
||||||
|
features/server/services/nextcloud-network.nix filter=crypt diff=crypt
|
||||||
|
|
3
features/server/services/nextcloud-network.nix
Normal file
3
features/server/services/nextcloud-network.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
U2FsdGVkX1/wrN9p1C5TZkO5yRPG1+/QXVUhFFBBITiR9E4MrfI/txI3iI08ffgv
|
||||||
|
XvmalsRFyxj3YWNGJt7QfyZHb+LLpVzDc7FSauYol+c7slX4S6m9CZyDJObHGmPF
|
||||||
|
pZLAP1VgPd3nT1CXkAQv4Q==
|
|
@ -7,6 +7,7 @@
|
||||||
sha256 = "0gzd0276b8da3ykapgqks2zhsqdv4jjvbv97dsxg0hgrhb74z0fs";
|
sha256 = "0gzd0276b8da3ykapgqks2zhsqdv4jjvbv97dsxg0hgrhb74z0fs";
|
||||||
}
|
}
|
||||||
}/nextcloud-extras.nix"
|
}/nextcloud-extras.nix"
|
||||||
|
./nextcloud-network.nix
|
||||||
]; # adding caddy support
|
]; # adding caddy support
|
||||||
|
|
||||||
sops.secrets.adminNextcloudPass = {
|
sops.secrets.adminNextcloudPass = {
|
||||||
|
@ -36,5 +37,10 @@
|
||||||
"OC\\Preview\\XBitmap"
|
"OC\\Preview\\XBitmap"
|
||||||
"OC\\Preview\\HEIC"
|
"OC\\Preview\\HEIC"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
settings.trustedDomains = [ "cloud.hypervirtual.world" ];
|
||||||
|
settings.overwriteprotocol = "https";
|
||||||
|
settings.log_type = "file";
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue