☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
However Cosmos only see the Nginx Proxy's IP, not the original client preventing the IP Whitelist to operate as desired on the URL.
I can't find help in the documentation, how should cosmos be configured to use headers client IP to match the Whitelist IP Rule.
Thanks !
What should have happened?
Cosmos Proxy should detect / use real client IP instead of the Nginx one.
How to reproduce the bug?
Go to URL
Create a new Proxy URL
enter Whitelist IP in Advanced Security
Relevant log output
No response
Other details
The nginx reverse proxy itself is behind another proxy using the proxy_protocol to retrieve the source client IP.
Nginx sees the correct client IP. This part is working as expected.
What happened?
Hi,
I set up cosmos behind a nginx proxy, configured to forward the real client IP
However Cosmos only see the Nginx Proxy's IP, not the original client preventing the IP Whitelist to operate as desired on the URL.
I can't find help in the documentation, how should cosmos be configured to use headers client IP to match the Whitelist IP Rule.
Thanks !
What should have happened?
Cosmos Proxy should detect / use real client IP instead of the Nginx one.
How to reproduce the bug?
Relevant log output
No response
Other details
The nginx reverse proxy itself is behind another proxy using the proxy_protocol to retrieve the source client IP. Nginx sees the correct client IP. This part is working as expected.
System details