mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
Add Nginx location for incoming-request-ingest with proxy settings
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user