跳到主要内容

Download errors when running from behind a proxy: internal hostname is being used - 知识库 / Using Deskpro / Sysadmin - Deskpro Support

Download errors when running from behind a proxy: internal hostname is being used

作者列表

Question:

I'm running Deskpro behind a Nginx proxy under a different internal hostname. Some Deskpro urls are rendered with the internal hostname in them instead of the helpdesk URL or a relative path. All broken URLs seem to have file.php in common. Is there a setting I can change to force them to use our external URL?


Answer:

To resolve this problem:

  1. Make sure that the trust_proxy_data setting is set in config.php.

  2. Configure your proxy to send the correct X-Forwarded-* headers i.e. X-Forwarded-Host and X-Forwarded-Port


有帮助 没有帮助

添加一条评论

请登录或注册以提交评论。

是否需要密码提醒?