From 15dd5bb718d9393048237fbf83b890e911c95041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 23 Jun 2024 05:09:30 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=8F=91=E5=B8=83v2.2.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/panel.go | 2 +- internal/services/website.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/panel.go b/config/panel.go index 4eca4905b2..d051deec07 100644 --- a/config/panel.go +++ b/config/panel.go @@ -8,7 +8,7 @@ func init() { config := facades.Config() config.Add("panel", map[string]any{ "name": "耗子面板", - "version": "v2.2.14", + "version": "v2.2.15", "ssl": config.Env("APP_SSL", false), }) } diff --git a/internal/services/website.go b/internal/services/website.go index 2083f6ce16..a422737be6 100644 --- a/internal/services/website.go +++ b/internal/services/website.go @@ -270,6 +270,9 @@ server if err := io.Write("/www/server/vhost/rewrite/"+website.Name+".conf", "", 0644); err != nil { return models.Website{}, err } + if err := io.Write("/www/server/vhost/acme/"+website.Name+".conf", "", 0644); err != nil { + return models.Website{}, err + } if err := io.Write("/www/server/vhost/ssl/"+website.Name+".pem", "", 0644); err != nil { return models.Website{}, err }