Change the property of the No.Core.Configuration.Hosting Config class of public bool UseHttpXForwardedProto { get; set; } = false; to false public bool UseHttpXForwardedProto { get; set; } = true;
The instructions for installing Version 4.40.4 on Linux worked fine on Ubuntu 20.04 with MySQL. I could stop and start the nopCommerce440.service just fine. (I've also installed SSL and fail2ban.)
My 'custom' site's service would not start.
I had to modify Startup.cs as follows:
using Microsoft.AspNetCore.HttpOverrides;
And then (within DMF======) public void ConfigureServices(IServiceCollection services) { services.ConfigureApplicationServices(_configuration, _webHostEnvironment);
Where is the Startup.cs file? Thanks David4908 wrote:
The instructions for installing Version 4.40.4 on Linux worked fine on Ubuntu 20.04 with MySQL. I could stop and start the nopCommerce440.service just fine. (I've also installed SSL and fail2ban.)
My 'custom' site's service would not start.
I had to modify Startup.cs as follows:
using Microsoft.AspNetCore.HttpOverrides;
And then (within DMF======) public void ConfigureServices(IServiceCollection services) { services.ConfigureApplicationServices(_configuration, _webHostEnvironment);