From 6797f6597114bf9cc5e49c4f78ed3243816332ba Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 7 May 2025 14:13:04 +0200 Subject: [PATCH] influxdb: fix reverse proxy Like grafana. Also set some buffering options. --- roles/influxdb/templates/nginx.conf.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/influxdb/templates/nginx.conf.j2 b/roles/influxdb/templates/nginx.conf.j2 index c88aa30..c1a483f 100644 --- a/roles/influxdb/templates/nginx.conf.j2 +++ b/roles/influxdb/templates/nginx.conf.j2 @@ -6,7 +6,11 @@ server { ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem; + client_body_buffer_size 10M; + location / { - proxy_pass http://localhost:8087; + proxy_pass http://127.0.0.1:8087; + + proxy_max_temp_file_size 0; } }