-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugneeds info
Description
Bug description
allowed_admin_ranges
does not seem to honor XFF header. Administration settings are not visible for admin user when connected via reverse proxy with client ip in XFF and proxy ip in remote_addr header, even when proxy is listed in trusted_proxies
. Administration settings are visible when proxy ip is listed in allowed_admin_ranges
.
Not sure if this is intentional or a misconfiguration in my end.
Steps to reproduce
- Set up Nextcloud with php-fpm behind nginx.
- Add nginx ip to trusted_proxies
- Add clients real ip to allowed_admin_ranges
- Test that XFF is properly passed upstream with phpinfo()
- Log in as admin, no Administration settings visible
Expected behavior
Admin settings visible when client is verified via XFF.
Nextcloud Server version
31
Metadata
Metadata
Assignees
Labels
0. Needs triagePending check for reproducibility or if it fits our roadmapPending check for reproducibility or if it fits our roadmap31-feedbackbugneeds info