Skip to content
Snippets Groups Projects
Unverified Commit 024df6b9 authored by micah's avatar micah
Browse files

move the websock nginx config to the grafana endpoint

parent c664fae8
Branches
No related tags found
1 merge request!110Draft: Enable Loki as a replacement for Elasticsearch when `enable_loki` is set.
...@@ -128,18 +128,18 @@ prometheus: ...@@ -128,18 +128,18 @@ prometheus:
- name: loki - name: loki
port: 3100 port: 3100
scheme: http scheme: http
- name: grafana
port: 2929
scheme: https
enable_sso_proxy: true
extra_nginx_config: | extra_nginx_config: |
location ^~ /api/datasources/proxy/\d+/loki/api/v1/tail { location ^~ /api/datasources/proxy/2/loki/api/v1/tail {
proxy_pass http://be_loki_3100_prometheus; proxy_pass http://be_loki_3100_prometheus;
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
proxy_set_header Host $host; proxy_set_header Host $host;
} }
- name: grafana
port: 2929
scheme: https
enable_sso_proxy: true
- name: thanos - name: thanos
port: 10904 port: 10904
scheme: http scheme: http
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment