diff --git a/config/.gitignore b/config/.gitignore new file mode 100644 index 0000000..cfaad76 --- /dev/null +++ b/config/.gitignore @@ -0,0 +1 @@ +*.pem diff --git a/config/agent/development.toml b/config/agent/development.toml new file mode 100644 index 0000000..0859b25 --- /dev/null +++ b/config/agent/development.toml @@ -0,0 +1,23 @@ +[grpc] +connection_string = "https://127.0.0.1:8443" + +[grpc.m_auth.Tls.ZipPath] +# cert_zip_path = "./.local/agent-tls.zip" +cert_zip_path = "./certs/agent-id-placeholder/cert.zip" + +[grpc.cors] +allowed_origins = ["*"] +allowed_methods = ["GET", "POST"] +allowed_headers = ["*"] +allow_credentials = true + +[log] +level = "INFO" + +[nginx] +nginx_config_path = "./.devcontainer/nginx/nginx.conf" +# nginx_binary_path = "/usr/sbin/nginx" +# override_nginx_reload_command = ["/usr/sbin/nginx", "-s", "reload"] +# override_nginx_test_command = ["/usr/sbin/nginx", "-t"] +nginx_reload_timeout_seconds = 30 +nginx_test_timeout_seconds = 30