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
API v2 responses doesn't take care about X-FORWARDED-PROTO value defined in nginx configuration.
This header is used by django to know if generated url (pictogram, attachment) is http or https.
In some cases, custom configuration in nginx.conf.in to work behind haproxy, API response does not match with headers.
For the moment, any change about it in nginx template should be followed by clearing api_v2 cache in admin panel
The text was updated successfully, but these errors were encountered:
submarcos
changed the title
API V2 cache problem when switching from http / https
API V2 cache problem with custom configuration in nginx.conf.in
Jan 11, 2023
API v2 responses doesn't take care about
X-FORWARDED-PROTO
value defined in nginx configuration.This header is used by django to know if generated url (pictogram, attachment) is http or https.
In some cases, custom configuration in nginx.conf.in to work behind haproxy, API response does not match with headers.
For the moment, any change about it in nginx template should be followed by clearing api_v2 cache in admin panel
The text was updated successfully, but these errors were encountered: