grafana forward

This commit is contained in:
Your Name 2024-02-29 02:33:39 +03:00
parent 8a3a630fad
commit 21a083a573

View file

@ -76,7 +76,7 @@
''; '';
locations."/api/live/ws".extraConfig = '' locations."/api/live/ws".extraConfig = ''
proxy_pass http://123.123.123.123:3000; proxy_pass http://123.123.123.123:3000;
proxy_read_timeout 31536000; proxy_read_timeout 120;
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";
@ -95,7 +95,7 @@
''; '';
locations."/api/live/ws".extraConfig = '' locations."/api/live/ws".extraConfig = ''
proxy_pass http://123.123.123.123:3000; proxy_pass http://123.123.123.123:3000;
proxy_read_timeout 31536000; proxy_read_timeout 120;
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";