Closed XiMMiX closed 10 months ago
The openeats-api generates absolute URLs for uploaded images. Without USE_X_FORWARDED_HOST it uses the IP and port gunicorn runs on (127.0.0.1:5210) instead of the fqdn of the reverse proxy for these URLs.
This fixes the following issue in the openeats -web repo: https://github.com/open-eats/openeats-web/issues/56
The openeats-api generates absolute URLs for uploaded images. Without USE_X_FORWARDED_HOST it uses the IP and port gunicorn runs on (127.0.0.1:5210) instead of the fqdn of the reverse proxy for these URLs.
This fixes the following issue in the openeats -web repo: https://github.com/open-eats/openeats-web/issues/56