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 years ago
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 years ago
Hi.
Try to enable MediaSettings.UseAbsoluteImagePath.
3 years ago
Thank you, But this setting is True by default.
3 years ago
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.