diff --git a/agent/app/service/app_install.go b/agent/app/service/app_install.go index fe643656d..2279f7358 100644 --- a/agent/app/service/app_install.go +++ b/agent/app/service/app_install.go @@ -264,12 +264,6 @@ func (a *AppInstallService) Operate(req request.AppInstalledOperate) error { } return syncAppInstallStatus(&install, false) case constant.Restart: - if install.App.Key == "openresty" { - websites, _ := websiteRepo.GetBy() - if len(websites) > 0 { - _ = createAllWebsitesWAFConfig(websites) - } - } out, err := compose.Restart(dockerComposePath) if err != nil { return handleErr(install, err, out) diff --git a/frontend/src/views/website/runtime/php/config/index.vue b/frontend/src/views/website/runtime/php/config/index.vue index 4d6915d1b..420a03471 100644 --- a/frontend/src/views/website/runtime/php/config/index.vue +++ b/frontend/src/views/website/runtime/php/config/index.vue @@ -8,6 +8,9 @@ > @@ -44,7 +44,7 @@ import PHP from './php-fpm/index.vue'; import Performance from './performance/index.vue'; import Container from './container/index.vue'; -const index = ref('0'); +const index = ref('6'); const open = ref(false); const runtime = ref({ name: '',