diff --git a/backend/app/service/website_utils.go b/backend/app/service/website_utils.go index 089c7dbe3..6956d9a89 100644 --- a/backend/app/service/website_utils.go +++ b/backend/app/service/website_utils.go @@ -330,9 +330,7 @@ func createWafConfig(website *model.Website, domains []model.WebsiteDomain) erro for _, domain := range domains { wafWebsite.Domains = append(wafWebsite.Domains, domain.Domain) - if domain.Port != 80 && domain.Port != 443 { - wafWebsite.Host = append(wafWebsite.Host, domain.Domain+":"+strconv.Itoa(domain.Port)) - } + wafWebsite.Host = append(wafWebsite.Host, domain.Domain+":"+strconv.Itoa(domain.Port)) } websitesArray = append(websitesArray, wafWebsite) websitesContent, err := json.Marshal(websitesArray)