tiredofit / docker-freescout

Dockerized web based help desk and shared inbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Support for APP_TRUSTED_PROXIES

timconner opened this issue · comments

Per freescout-helpdesk/freescout#1994, support for X-Forwarded-Headers has been added for authentication logs inside of freescout. Requires setting an environment variable for APP_TRUSTED_PROXIES.

# Comma separated list of trusted proxies for proper IP detection in FreeScout.
# To trust all proxies that connect to your server use single asterisk: *
# To trust ALL proxies, including those that are in a chain of forwarding use double asterisk: **
APP_TRUSTED_PROXIES=192.168.1.1,192.168.1.2,192.168.1.3

I was able to confirm it works by adding the variable directly to the data/config file.