upgrade influx

This commit is contained in:
Jason Ertel
2023-02-09 16:18:04 -05:00
parent 067b6bacd1
commit 0e50d36da6
4 changed files with 107 additions and 3 deletions

View File

@@ -185,11 +185,11 @@ http {
location /influxdb/ {
auth_request /auth/sessions/whoami;
rewrite /influxdb/api/(.*) /api/$1 break;
proxy_pass https://{{ GLOBALS.manager_ip }}:8086/;
proxy_read_timeout 90;
proxy_read_timeout 300;
proxy_connect_timeout 90;
proxy_set_header Host $host;
proxy_set_header Authorization "Basic {{ influxauth }}";
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Proxy "";