how to fix Server URL, some images try to load by server IP instead domain name

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 anos atrás
Hello,
I install nopcommerce v4.3 on ubuntu, and using Nginx as a reverse proxy.
Randomly I notice that Logo and some other images try to load by http://IP-Address-Of-Server instead of domain name set there.
I setup urls in Store setting, and in any setting I dont use IP address. how can I fix this issue?

Thanks
3 anos atrás
Hi.
Try to enable MediaSettings.UseAbsoluteImagePath.
3 anos atrás
Thank you, But this setting is True by default.
3 anos atrás
If you're hosting the site behind a load balancer then change appSettings.json setting
"UseHttpXForwardedProto": true
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.