Skeleton contracts / contracts (pull_request) Canceled after 0s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
19 lines
576 B
Plaintext
19 lines
576 B
Plaintext
server {
|
|
listen 4318 ssl;
|
|
server_name otel-gateway;
|
|
ssl_certificate /run/secrets/collector.crt;
|
|
ssl_certificate_key /run/secrets/collector.key;
|
|
ssl_client_certificate /run/secrets/ca.crt;
|
|
ssl_verify_client on;
|
|
ssl_verify_depth 2;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
if ($ssl_client_s_dn !~ "^CN=(api-otel|worker-otel)$") { return 403; }
|
|
location / {
|
|
proxy_pass http://otel-collector:4318;
|
|
proxy_set_header Connection "";
|
|
proxy_http_version 1.1;
|
|
proxy_read_timeout 60s;
|
|
proxy_send_timeout 60s;
|
|
}
|
|
}
|