From 30ebd2f8d2acf2a59c3241481b5cb227695a3a3c Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 21 Oct 2020 10:34:12 +0200 Subject: [PATCH] Change defaults. --- backend/src/Squidex.Web/UrlsOptions.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {