diff --git a/Nginx/default.conf.template b/Nginx/default.conf.template index 70a42c7663..146d634436 100644 --- a/Nginx/default.conf.template +++ b/Nginx/default.conf.template @@ -515,6 +515,18 @@ server { proxy_pass http://open-telemetry-ingest; } + location /incoming-request-ingest { + + # This is for nginx not to crash when service is not available. + resolver 127.0.0.1 valid=30s; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + proxy_pass http://incoming-request-ingest; + } + location /otlp/ { # This is for nginx not to crash when service is not available.