fix: update ConfigUpdate message to include root_config and improve documentation
This commit is contained in:
@@ -106,8 +106,11 @@ message Alert {
|
|||||||
message ConfigUpdate {
|
message ConfigUpdate {
|
||||||
string config_id = 1;
|
string config_id = 1;
|
||||||
int64 version = 2;
|
int64 version = 2;
|
||||||
repeated ConfigContent configs = 3;
|
// The root config is the main nginx.conf file, this file will be used as the entry point for nginx configuration. The content of this file should include references to other config files if needed. The agent will write this root config to the nginx config directory and use it to reload nginx.
|
||||||
repeated CertificateContent certificates = 4;
|
ConfigContent root_config = 3;
|
||||||
|
// The other config files that are referenced by the root config, e.g. "site.conf", "private/example.com.conf". If the root config does not reference any other config files, this field can be left empty. The agent will write these config files to the nginx config directory and ensure they are included in the root config.
|
||||||
|
repeated ConfigContent configs = 4;
|
||||||
|
repeated CertificateContent certificates = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message ConfigContent {
|
message ConfigContent {
|
||||||
|
|||||||
Reference in New Issue
Block a user