diff --git a/backend/src/Squidex.Web/UrlsOptions.cs b/backend/src/Squidex.Web/UrlsOptions.cs index 3ff9c11ad..36ad4832c 100644 --- a/backend/src/Squidex.Web/UrlsOptions.cs +++ b/backend/src/Squidex.Web/UrlsOptions.cs @@ -16,15 +16,15 @@ namespace Squidex.Web { private readonly HashSet allTrustedHosts = new HashSet(); private string baseUrl; - private string[] trustedHosts; + private string[]? trustedHosts; - public string[] KnownProxies { get; set; } + public string[]? KnownProxies { get; set; } public bool EnableForwardHeaders { get; set; } = true; public bool EnforceHTTPS { get; set; } = false; - public bool EnforceHost { get; set; } = true; + public bool EnforceHost { get; set; } = false; public int? HttpsPort { get; set; } = 443; @@ -45,7 +45,7 @@ namespace Squidex.Web } } - public string[] TrustedHosts + public string[]? TrustedHosts { get {