- Added upstream objects

- Renamed host templates to nginx templates
- Generate upstream templates
- Better nginx error reporting when reloading
- Use tparse for golang test reporting
This commit is contained in:
Jamie Curnow
2023-01-04 15:36:56 +10:00
parent b3ae2f4dbb
commit 5e5f0de0e2
82 changed files with 2209 additions and 294 deletions

View File

@@ -94,7 +94,7 @@ export interface Host {
modifiedOn: number;
userId: number;
type: string;
hostTemplateId: number;
nginxTemplateId: number;
listenInterface: number;
domainNames: string[];
upstreamId: number;
@@ -108,16 +108,15 @@ export interface Host {
hstsEnabled: boolean;
hstsSubdomains: boolean;
paths: string;
upstreamOptions: string;
advancedConfig: string;
isDisabled: boolean;
}
export interface HostTemplate {
export interface NginxTemplate {
id: number;
createdOn: number;
modifiedOn: number;
userId: number;
hostType: string;
type: string;
template: string;
}