Mathieu Strypsteen
1648634933
All checks were successful
ShellCheck / shellcheck (push) Successful in 17s
16 lines
407 B
Text
16 lines
407 B
Text
server {
|
|
server_name metrics.strypsteen.com;
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
include snippets/headers.conf;
|
|
location = /api/v1/write {
|
|
set $upstream systemd-prometheus.;
|
|
proxy_pass http://$upstream:9090;
|
|
include snippets/proxy.conf;
|
|
}
|
|
location = /loki/api/v1/push {
|
|
set $upstream systemd-loki.;
|
|
proxy_pass http://$upstream:3100;
|
|
include snippets/proxy.conf;
|
|
}
|
|
}
|