You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This becomes a real issue when trying to use the REST api of osTicket.
From the docs: The API key must match the remote IP of the connected HTTP client. The remote IP is checked as usual. If the osTicket server is sitting behind a reverse proxy, the original IP of the client will be retrieved from the X-Forwarded-For header, if provided by your proxy.
The need of setting a TRUSTED_PROXIES env variable is a must if anyone is planning to use this docker image.
My logs in osticket are showing the Docker IP ranges. I assume we need to set TRUSTED_PROXIES in the config.
Can you add that as a variable
Also I assume there will need to be an nginx config to use the forward ip?
I believe osticket uses X-Forwarded-For header
The text was updated successfully, but these errors were encountered: