Running LiveConfig behind a proxy

Category: LiveConfig
Created: 2019-10-25
Updated: 2019-10-25

If you run LiveConfig behind a proxy (i.e. you use a proxy to access LiveConfig), you will see that all log entries in LiveConfig show the IP address of your proxy server.

To log the IP address of the actual user, set the following options in /etc/liveconfig/liveconfig.conf:

http_proxy_ip_from = XX.XX.XX.XX
http_proxy_ip_header = X-Real-IP
http_proxy_url = https://your.proxy.server

Replace XX.XX.XX.XX with the IP address of your proxy server (or 127.0.0.1 for a local proxy).

Finally restart LiveConfig to load the updated configuration.