From 55520164b48a85983b333c2f36b4f45da78cf669 Mon Sep 17 00:00:00 2001 From: Jakub W Date: Thu, 21 Dec 2023 11:52:24 +0100 Subject: [PATCH] Revert "Add location block for API endpoint" This reverts commit 9098730e3025f0d3b4901b8185821d4a5951751e. --- influxdb.subdomain.conf.sample | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/influxdb.subdomain.conf.sample b/influxdb.subdomain.conf.sample index 1c2f158..e772beb 100644 --- a/influxdb.subdomain.conf.sample +++ b/influxdb.subdomain.conf.sample @@ -1,4 +1,4 @@ -## Version 2023/12/21 +## Version 2023/05/31 # make sure that your influxdb container is named influxdb # make sure that your dns has a cname set for influxdb @@ -41,17 +41,6 @@ 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; - } }