Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem using private IPs for clients accessing Nextcloud #1875

Closed
hack-char opened this issue Dec 6, 2022 · 2 comments
Closed

Problem using private IPs for clients accessing Nextcloud #1875

hack-char opened this issue Dec 6, 2022 · 2 comments
Labels
enhancement feature: auto config (environment variables) Auto configuring via environment variables integration: proxy Integrating with a reverse proxy

Comments

@hack-char
Copy link

docker/25/apache/Dockerfile

Lines 120 to 122 in 6103e07

echo RemoteIPTrustedProxy 10.0.0.0/8 ;\
echo RemoteIPTrustedProxy 172.16.0.0/12 ;\
echo RemoteIPTrustedProxy 192.168.0.0/16 ;\

The Apache directive "RemoteIPTrustedProxy" will ignore a remote host that has a private IP. All of my clients accessing Nextcloud use a private IP. My configuration requires this to be RemoteIPInternalProxy. Please either make this selectable or default to 'internal'.
As a work-around, I am mounting a modified remoteip.conf file with my exact proxy IP using this RemoteIPInternalProxy directive.

@meonkeys
Copy link
Contributor

@joshtrichards
Copy link
Member

Duplicate of #1103 and fixed by #2004.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature: auto config (environment variables) Auto configuring via environment variables integration: proxy Integrating with a reverse proxy
Projects
None yet
Development

No branches or pull requests

3 participants