-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnginx.conf
35 lines (32 loc) · 810 Bytes
/
nginx.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# load_module modules/ngx_otel_module.so;
events {}
http {
# otel_exporter {
# endpoint otel-collector:4317;
# }
# otel_trace on;
# otel_service_name web;
log_format main '$remote_addr'
'\t$remote_user'
'\t$time_local'
'\t$request'
'\t$status';
include mime.types;
default_type application/octet-stream;
server {
listen 80;
listen [::]:80;
server_name localhost;
access_log /var/log/nginx/access.log main;
error_log /var/log/nginx/error.log;
location / {
# otel_trace_context propagate;
root /usr/share/nginx/html;
index minTest.html minTest.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
}
}