mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
grafana forward
This commit is contained in:
parent
21a083a573
commit
771ea62aec
|
|
@ -77,6 +77,8 @@
|
|||
locations."/api/live/ws".extraConfig = ''
|
||||
proxy_pass http://123.123.123.123:3000;
|
||||
proxy_read_timeout 120;
|
||||
proxy_pass_header X-XSRF-TOKEN;
|
||||
proxy_set_header Origin "http://123.123.123.123:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
@ -89,13 +91,12 @@
|
|||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_pass http://123.123.123.123:3000;
|
||||
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
'';
|
||||
locations."/api/live/ws".extraConfig = ''
|
||||
proxy_pass http://123.123.123.123:3000;
|
||||
proxy_read_timeout 120;
|
||||
proxy_pass_header X-XSRF-TOKEN;
|
||||
proxy_set_header Origin "http://123.123.123.123:3000;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
|
|
|||
Loading…
Reference in a new issue