Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

HostingConfigModel.cs

using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Settings;

/// 
/// Represents a hosting configuration model
/// 
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
}