feat: Add development configuration for gRPC and Nginx
This commit is contained in:
23
config/agent/development.toml
Normal file
23
config/agent/development.toml
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user