namespace Nop.Core.Configuration; /// /// Represents hosting configuration parameters /// public partial class HostingConfig : IConfig { /// /// Gets or sets a value indicating whether to use proxy servers and load balancers /// public bool UseProxy { get; protected set; } /// /// Gets or sets the header used to retrieve the value for the originating scheme (HTTP/HTTPS) /// public string ForwardedProtoHeaderName { get; protected set; } = string.Empty; /// /// Gets or sets the header used to retrieve the originating client IP /// public string ForwardedForHeaderName { get; protected set; } = string.Empty; /// /// Gets or sets addresses of known proxies to accept forwarded headers from /// public string KnownProxies { get; protected set; } = string.Empty; /// /// Gets or sets addresses of known networks to accept forwarded headers from /// public string KnownNetworks { get; protected set; } = string.Empty; }