fix(nextcloud): push server is not a trusted proxy #62
No reviewers
Labels
No labels
Bug
Docs
Feature request
Good for newcomers
Infra
Privacy
Refactoring or migration
Security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: pub-solar/infra#62
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/nextcloud-trusted-proxies"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The nextcloud push service would fail with the following error message
when deploying a new version:
https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/reverse_proxy_configuration.html#defining-trusted-proxies
b0c383cd2e
tod26b3c12f4
@ -50,4 +50,0 @@
trustedProxies = [
"127.0.0.1"
"::1"
];
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