feat: 修改网站nginx配置文件 reload

This commit is contained in:
zhengkunwang223
2022-12-28 11:37:04 +08:00
committed by zhengkunwang223
parent 78a437d0ca
commit 0f739b4afa
8 changed files with 50 additions and 6 deletions

View File

@@ -162,3 +162,7 @@ export const GetWafConfig = (req: Website.WafReq) => {
export const UpdateWafEnable = (req: Website.WafUpdate) => {
return http.post<any>(`/websites/waf/update`, req);
};
export const UpdateNginxFile = (req: Website.NginxUpdate) => {
return http.post<any>(`/websites/nginx/update`, req);
};