Ir al contenido principal

Download errors when running from behind a proxy: internal hostname being used - Base de conocimiento / Deskpro Legacy - Deskpro Support

WARNING: You're browsing documentation for an older version of Deskpro. For the most up-to-date version, see: Download errors when running from behind a proxy: internal hostname is being used

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

Lista de autores

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


Útil Poco útil

37 de 74 personas considera que esta página es útil

Nuevo comentario

Por favor, ingresa o regístrate para enviar un comentario.

¿Necesitas que te recordemos la contraseña?