2022-11-24 10:28:39 +08:00
|
|
|
export namespace Nginx {
|
|
|
|
export interface NginxScopeReq {
|
|
|
|
scope: string;
|
|
|
|
}
|
|
|
|
export interface NginxParam {
|
|
|
|
name: string;
|
|
|
|
params: string[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface NginxConfigReq {
|
|
|
|
operate: string;
|
|
|
|
websiteId?: number;
|
|
|
|
scope: string;
|
|
|
|
params?: any;
|
|
|
|
}
|
2022-11-24 16:06:18 +08:00
|
|
|
|
|
|
|
export interface NginxStatus {
|
|
|
|
accepts: string;
|
|
|
|
handled: string;
|
|
|
|
active: string;
|
|
|
|
requests: string;
|
|
|
|
reading: string;
|
|
|
|
writing: string;
|
|
|
|
waiting: string;
|
|
|
|
}
|
2022-12-09 17:16:07 +08:00
|
|
|
|
|
|
|
export interface NginxFileUpdate {
|
|
|
|
content: string;
|
|
|
|
backup: boolean;
|
|
|
|
}
|
2022-11-24 10:28:39 +08:00
|
|
|
}
|