feat: Add development configuration for gRPC and Nginx

This commit is contained in:
GW_MC
2026-03-21 03:09:10 +00:00
parent 1a453a7e5c
commit 3800e38463
2 changed files with 24 additions and 0 deletions

1
config/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.pem

View 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