smartnginx/dist/smartnginx.classes.nginxconfig.d.ts

21 lines
463 B
TypeScript
Raw Permalink Normal View History

2016-07-06 01:14:44 +00:00
export declare enum ZoneTypes {
}
export declare class NginxConfig {
2016-07-06 01:33:39 +00:00
zones: NginxZone[];
2016-07-06 01:14:44 +00:00
constructor();
2016-07-06 01:33:39 +00:00
addZone(zoneArg: NginxZone): void;
listZones(): NginxZone[];
removeZones(zoneArg: NginxZone): void;
2016-07-06 01:14:44 +00:00
deploy(): void;
nginxStart(): void;
nginxStop(): void;
}
export declare class NginxZone {
2016-07-06 01:33:39 +00:00
domain: any;
constructor(optionsArg: {
zoneName: string;
type: ZoneTypes;
destination: string;
});
2016-07-06 01:14:44 +00:00
}