Conflict on Mobile Application and Load Balancing Configuration

1 settimana tempo fa
As described on https://docs.nopcommerce.com/en/installation-and-upgrading/installing-nopcommerce/web-farms.html, we set up a load balanced environment for our nopcommerce project and set mediasettings.useabsoluteimagepath to False.

Go to Configuration → Settings → All settings (advanced). Find the mediasettings.useabsoluteimagepath setting and change its value to false

However, when we set the nopcommerce mobile app on 4.50.13 version we come up with the error below.

The 'mediasettings.useabsoluteimagepath' setting set as 'False', but mobile application need 'True'. Please, change it on the 'All settings (advanced)' page

Does, changing it to mediasettings.useabsoluteimagepath setting back to True have negative effect on redis caching or load balancing? How should we proceed?

Best regards,
1 settimana tempo fa
Hi! If you enable this setting, you will face issues with render images in the browser (i.e. their URLs will start with IP address of the current instance).
1 settimana tempo fa
Thank you for your answer Alexey. Is there any suggested solution to fıx this issue on mobile application then?

The 'mediasettings.useabsoluteimagepath' setting set as 'False', but mobile application need 'True'. Please, change it on the 'All settings (advanced)' page
1 settimana tempo fa
berkuttechnology wrote:
Is there any suggested solution to fıx this issue on mobile application then?

No. Currently it's not supported
1 settimana tempo fa
Thanks for your response Andrei. We will try to implement a custom solution with nginx. I'll let you know if we can find a generic solution. Best regards