fix(nextcloud): push server is not a trusted proxy #62
|
@ -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"
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
|
|
Loading…
Reference in a new issue
don't we still need this because we run nextcloud behind nginx?
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