fix(nextcloud): push server is not a trusted proxy #62

Merged
teutat3s merged 1 commit from fix/nextcloud-trusted-proxies into main 2023-11-18 22:12:50 +00:00

View file

@ -36,6 +36,7 @@
notify_push = {
enable = true;
bendDomainToLocalhost = true;
};
config = {
@ -46,11 +47,6 @@
dbname = "nextcloud";
dbtableprefix = "oc_";
overwriteProtocol = "https";
trustedProxies = [
"127.0.0.1"
"::1"
];
Review

don't we still need this because we run nextcloud behind nginx?

don't we still need this because we run nextcloud behind nginx?
Review
This option does it for us: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/nixos/modules/services/web-apps/nextcloud-notify_push.nix#L118-L120
};
extraOptions = {