-
Notifications
You must be signed in to change notification settings - Fork 26
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
Running with reverse proxy #107
Comments
Yes, that should be possible. Basically, the nginx config is generated by
Is your reverse proxy in the same network as the docker container and does it set the Btw, an easy way to check if UISP uses the real IP is by logging into UISP and checking the system logs, it should show the IP address of the user that logged in. |
In my current setup
Caddy send the By the way, I also tried to make The
My Docker host also host the Likely uisp-controller parse the I can confirm that, when accessing the uisp-controller from internal network, skipping cloudflare-tunnels, the real ip of client is logged if the container belong to only one network. Something like this in
But a more easy way to provide a list of networks to be trusted by environment variable would be useful. |
Just started this image, I run behind a reverse proxy, It works but apparently the controller doesn't trust the proxy because, for example, the session tokens table show to the proxy address and not the real client ip address.
There is a way to properly configure the controller to trust the proxy?
The text was updated successfully, but these errors were encountered: