Replies: 2 comments 6 replies
-
You should make sure the trustedproxy is set in the settings section of ur config.json and also tell caddy to pass the X-Forwarded-For header, with nginx for example u have to add these lines manually in its config file Also make sure the ip address is set as ur caddy container ip address if ur using docker |
Beta Was this translation helpful? Give feedback.
-
I was able to get this working and it was reporting the correct IP. Now when i try to register a new machine, it doesnt connect. i stopped the windows service and ran
I then removed all settings for Is there anything else i can do to get this working? what other logs can I provide These are all my files this is my caddyfile
my docker compose
my config.json
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
In my setup (Docker), whenever someone logs in to the server, meshcentral creates a log of the IP address but it logs the local IP of the server instead of the IP address of the source.
i have a caddy reverse proxy, as a binary, running on the same vm with ip 10.0.0.4
is there way to make it log the correct IP address?
7:43:19 AM - admin → Account login from 10.0.0.4, Chrome/133.0.0.0, Windows/10
I tried to set "trustedProxy": "10.0.0.4" in config.json & restarted the containers but it still only logs the 10.0.0.4 IP
Beta Was this translation helpful? Give feedback.
All reactions