Compare commits

...

2 commits

Author SHA1 Message Date
6797f65971 influxdb: fix reverse proxy
Like grafana. Also set some buffering options.
2025-05-07 14:13:04 +02:00
7f28f3a366 grafana: fix reverse proxy
Can’t get it to bind to IPv6 so use v4 explicitly.
2025-05-07 14:07:11 +02:00
2 changed files with 8 additions and 2 deletions

View file

@ -7,7 +7,9 @@ server {
ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem;
location / {
proxy_pass http://localhost:3000;
proxy_pass http://127.0.0.1:3000;
proxy_set_header Host $host;
proxy_max_temp_file_size 0;
}
}

View file

@ -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;
}
}