From c57808a38664b7548f798ec60126a94d40acd1d3 Mon Sep 17 00:00:00 2001 From: Jakub W Date: Thu, 4 Jan 2024 12:27:17 +0100 Subject: [PATCH 1/2] Disable additional auth for API endpoint --- influxdb.subdomain.conf.sample | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/influxdb.subdomain.conf.sample b/influxdb.subdomain.conf.sample index e772beb..ca86cb7 100644 --- a/influxdb.subdomain.conf.sample +++ b/influxdb.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2023/05/31 +## Version 2024/01/05 # make sure that your influxdb container is named influxdb # make sure that your dns has a cname set for influxdb @@ -41,6 +41,17 @@ server { set $upstream_port 8086; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; + + } + + location ~ (/influxdb)?/api { + include /config/nginx/proxy.conf; + include /config/nginx/resolver.conf; + set $upstream_app influxdb; + set $upstream_port 8086; + set $upstream_proto http; + proxy_pass $upstream_proto://$upstream_app:$upstream_port; + } } From 86274006a98a263d74401b874a818fdfe7cb0328 Mon Sep 17 00:00:00 2001 From: Jakub W Date: Mon, 8 Jan 2024 14:46:12 +0100 Subject: [PATCH 2/2] Updated proxy-conf date --- influxdb.subdomain.conf.sample | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/influxdb.subdomain.conf.sample b/influxdb.subdomain.conf.sample index ca86cb7..58e4cce 100644 --- a/influxdb.subdomain.conf.sample +++ b/influxdb.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2024/01/05 +## Version 2024/01/08 # make sure that your influxdb container is named influxdb # make sure that your dns has a cname set for influxdb @@ -51,7 +51,6 @@ server { set $upstream_port 8086; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; - + } } -