29 lines
1003 B
C#
29 lines
1003 B
C#
using Nop.Web.Framework.Models;
|
|
using Nop.Web.Framework.Mvc.ModelBinding;
|
|
|
|
namespace Nop.Web.Areas.Admin.Models.Settings;
|
|
|
|
/// <summary>
|
|
/// Represents a hosting configuration model
|
|
/// </summary>
|
|
public partial record HostingConfigModel : BaseNopModel, IConfigModel
|
|
{
|
|
#region Properties
|
|
|
|
[NopResourceDisplayName("Admin.Configuration.AppSettings.Hosting.UseProxy")]
|
|
public bool UseProxy { get; set; }
|
|
|
|
[NopResourceDisplayName("Admin.Configuration.AppSettings.Hosting.ForwardedForHeaderName")]
|
|
public string ForwardedForHeaderName { get; set; }
|
|
|
|
[NopResourceDisplayName("Admin.Configuration.AppSettings.Hosting.ForwardedProtoHeaderName")]
|
|
public string ForwardedProtoHeaderName { get; set; }
|
|
|
|
[NopResourceDisplayName("Admin.Configuration.AppSettings.Hosting.KnownProxies")]
|
|
public string KnownProxies { get; set; }
|
|
|
|
[NopResourceDisplayName("Admin.Configuration.AppSettings.Hosting.KnownNetworks")]
|
|
public string KnownNetworks { get; set; }
|
|
|
|
#endregion
|
|
} |